News:

We really need your input in this questionnaire

Main Menu

question about scintilla

Started by bimal, February 18, 2007, 06:45:51 AM

Previous topic - Next topic

terry

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

Victor Kirhenshtein

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

terry

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