NetXMS Support Forum

Development => Windows => Topic started by: antonyvasanth on December 03, 2008, 12:54:20 PM

Title: Linker error in nxlexer
Post by: antonyvasanth on December 03, 2008, 12:54:20 PM
Hi victor,

I am getting the following problem while compiling the source in VC++ 6.0


--------------------Configuration: nxlexer - Win32 Debug--------------------
Linking...
   Creating library Debug/nxlexer.lib and object Debug/nxlexer.exp
nxlexer.obj : error LNK2001: unresolved external symbol "public: __thiscall PropSet::~PropSet(void)" (??1PropSet@@QAE@XZ)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall WindowAccessor::~WindowAccessor(void)" (??1WindowAccessor@@UAE@XZ)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::Flush(void)" (?Flush@WindowAccessor@@UAEXXZ)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::StartSegment(unsigned int)" (?StartSegment@WindowAccessor@@UAEXI@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::StartAt(unsigned int,char)" (?StartAt@WindowAccessor@@UAEXID@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: void __thiscall PropSet::SetMultiple(char const *)" (?SetMultiple@PropSet@@QAEXPBD@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: __thiscall PropSet::PropSet(void)" (??0PropSet@@QAE@XZ)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::IndicatorFill(int,int,int,int)" (?IndicatorFill@WindowAccessor@@UAEXHHHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::IndentAmount(int,int *,bool (__cdecl*)(class Accessor &,int,int))" (?IndentAmount@WindowAccessor@@UAEHHPAHP6A_NAAVAccessor@@HH@Z@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::SetLevel(int,int)" (?SetLevel@WindowAccessor@@UAEXHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::ColourTo(unsigned int,int)" (?ColourTo@WindowAccessor@@UAEXIH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::SetLineState(int,int)" (?SetLineState@WindowAccessor@@UAEHHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::GetLineState(int)" (?GetLineState@WindowAccessor@@UAEHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::Length(void)" (?Length@WindowAccessor@@UAEHXZ)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::LevelAt(int)" (?LevelAt@WindowAccessor@@UAEHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::LineStart(int)" (?LineStart@WindowAccessor@@UAEHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::GetLine(int)" (?GetLine@WindowAccessor@@UAEHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual char __thiscall WindowAccessor::StyleAt(int)" (?StyleAt@WindowAccessor@@UAEDH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall WindowAccessor::Match(int,char const *)" (?Match@WindowAccessor@@UAE_NHPBD@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall WindowAccessor::Fill(int)" (?Fill@WindowAccessor@@MAEXH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall WindowAccessor::InternalIsLeadByte(char)" (?InternalIsLeadByte@WindowAccessor@@MAE_ND@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: int __thiscall PropSet::GetInt(char const *,int)const " (?GetInt@PropSet@@QBEHPBDH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: char * __thiscall PropSet::ToString(void)const " (?ToString@PropSet@@QBEPADXZ)
Debug/nxlexer.dll : fatal error LNK1120: 23 unresolved externals
Error executing link.exe.


Please help me to resolve the same

Regards,

Antony vasanth
Title: Re: Linker error in nxlexer
Post by: Victor Kirhenshtein on December 03, 2008, 05:17:38 PM
Hi!

Do you link it with scilexer library?

Best regards,
Victor
Title: Re: Linker error in nxlexer
Post by: simo on February 01, 2009, 04:23:47 AM
Quote from: Victor Kirhenshtein on December 03, 2008, 05:17:38 PM
Hi!

Do you link it with scilexer library?

Best regards,
Victor


I link it with scilexer library(scintilla1.7.7.0).
error as before!

--------------------Configuration: nxlexer - Win32 Release--------------------
Linking...
   Creating library Release/nxlexer.lib and object Release/nxlexer.exp
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::IndicatorFill(int,int,int,int)" (?IndicatorFill@WindowAccessor@@UAEXHHHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::IndentAmount(int,int *,bool (__cdecl*)(class Accessor &,int,int))" (?IndentAmount@WindowAccessor@@UAEHHPAHP6A_NAAVAccessor@@HH@Z@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::SetLevel(int,int)" (?SetLevel@WindowAccessor@@UAEXHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::ColourTo(unsigned int,int)" (?ColourTo@WindowAccessor@@UAEXIH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::SetLineState(int,int)" (?SetLineState@WindowAccessor@@UAEHHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::GetLineState(int)" (?GetLineState@WindowAccessor@@UAEHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::Length(void)" (?Length@WindowAccessor@@UAEHXZ)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::LevelAt(int)" (?LevelAt@WindowAccessor@@UAEHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::LineStart(int)" (?LineStart@WindowAccessor@@UAEHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall WindowAccessor::GetLine(int)" (?GetLine@WindowAccessor@@UAEHH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual char __thiscall WindowAccessor::StyleAt(int)" (?StyleAt@WindowAccessor@@UAEDH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall WindowAccessor::Match(int,char const *)" (?Match@WindowAccessor@@UAE_NHPBD@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall WindowAccessor::Fill(int)" (?Fill@WindowAccessor@@MAEXH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall WindowAccessor::InternalIsLeadByte(char)" (?InternalIsLeadByte@WindowAccessor@@MAE_ND@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: __thiscall PropSet::~PropSet(void)" (??1PropSet@@QAE@XZ)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall WindowAccessor::~WindowAccessor(void)" (??1WindowAccessor@@UAE@XZ)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::Flush(void)" (?Flush@WindowAccessor@@UAEXXZ)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::StartSegment(unsigned int)" (?StartSegment@WindowAccessor@@UAEXI@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall WindowAccessor::StartAt(unsigned int,char)" (?StartAt@WindowAccessor@@UAEXID@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: void __thiscall PropSet::SetMultiple(char const *)" (?SetMultiple@PropSet@@QAEXPBD@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: __thiscall PropSet::PropSet(void)" (??0PropSet@@QAE@XZ)
nxlexer.obj : error LNK2001: unresolved external symbol "public: int __thiscall PropSet::GetInt(char const *,int)const " (?GetInt@PropSet@@QBEHPBDH@Z)
nxlexer.obj : error LNK2001: unresolved external symbol "public: char * __thiscall PropSet::ToString(void)const " (?ToString@PropSet@@QBEPADXZ)
Release/nxlexer.dll : fatal error LNK1120: 23 unresolved externals
Error executing link.exe.

nxlexer.dll - 24 error(s), 0 warning(s)

Best regards,
simo
Title: Re: Linker error in nxlexer
Post by: simo on June 11, 2009, 06:41:29 AM
Hi Victor,
Can you help me for above error?

Thx very much!