question about scintilla
-
Hi,
When I comile the NetXMS source, I met the below error.
I had scilexer.lib and scilexerd.lib form scite 172 version.I think I've not a correct version of scintilla to compile the NetXMS source.
Please let me know what's wrong.****************************************************************
--------------------Configuration: nxlexer - Win32 Release--------------------
Linking...
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
Creating library Release/nxlexer.lib and object Release/nxlexer.exp
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
scilexerd.lib(PlatWin.obj) : error LNK2001: unresolved external symbol "public: __thiscall XPMSet::XPMSet(void)" (??0XPMSet@@QAE@XZ)
scilexerd.lib(PlatWin.obj) : error LNK2001: unresolved external symbol "public: __thiscall XPMSet::~XPMSet(void)" (??1XPMSet@@QAE@XZ)
scilexerd.lib(PlatWin.obj) : error LNK2001: unresolved external symbol "public: int __thiscall XPMSet::GetWidth(void)" (?GetWidth@XPMSet@@QAEHXZ)
scilexerd.lib(PlatWin.obj) : error LNK2001: unresolved external symbol "public: void __thiscall XPMSet::Add(int,char const *)" (?Add@XPMSet@@QAEXHPBD@Z)
scilexerd.lib(PlatWin.obj) : error LNK2001: unresolved external symbol "public: void __thiscall XPMSet::Clear(void)" (?Clear@XPMSet@@QAEXXZ)
scilexerd.lib(PlatWin.obj) : error LNK2001: unresolved external symbol "public: void __thiscall XPM::Draw(class Surface *,class PRectangle &)" (?Draw@XPM@@QAEXPAVSurface@@AAVPRectangle@@@Z)
scilexerd.lib(PlatWin.obj) : error LNK2001: unresolved external symbol "public: class XPM * __thiscall XPMSet::Get(int)" (?Get@XPMSet@@QAEPAVXPM@@H@Z)
scilexerd.lib(PlatWin.obj) : error LNK2001: unresolved external symbol "public: int __thiscall XPMSet::GetHeight(void)" (?GetHeight@XPMSet@@QAEHXZ)
Release/nxlexer.dll : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.nxlexer.dll - 9 error(s), 2 warning(s)
*****************************************************************Best Regards,
- Terry
-
Hello!
I've never seen such error messages, but I'm still using version 167. Also, I recompile Scintilla from source before using it.
Best regards,
Victor -
Hi,
I found what's problem.
In nxlexer, there is not including XPM.cXX file and XPM.h.
After I add XPM.cXX and XPM.h file to nxlexer folder, the comile is success.I think nxlexer.dsp file must changed manually by each developer because scintilla directory is different.
Best Regards,
-Terry
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login