Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - antonyvasanth

#1
Windows / Error in creating libnxlp.lib
December 15, 2008, 02:04:54 PM
Hi Victor,

I have come across the following error during compilation. Please help me to resolve the same.

--------------------Configuration: libnxlp - Win32 Debug--------------------
Linking...
   Creating library Debug/libnxlp.lib and object Debug/libnxlp.exp
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class StringMap & __thiscall StringMap::operator=(class StringMap &)" (__imp_??4StringMap@@QAEAAV0@AAV0@@Z)
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class StringMap & __thiscall StringMap::operator=(class StringMap &)" (__imp_??4StringMap@@QAEAAV0@AAV0@@Z)
rule.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class StringMap & __thiscall StringMap::operator=(class StringMap &)" (__imp_??4StringMap@@QAEAAV0@AAV0@@Z)
winfile.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class StringMap & __thiscall StringMap::operator=(class StringMap &)" (__imp_??4StringMap@@QAEAAV0@AAV0@@Z)
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall StringMap::StringMap(void)" (__imp_??0StringMap@@QAE@XZ)
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall StringMap::~StringMap(void)" (__imp_??1StringMap@@QAE@XZ)
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char * __thiscall StringMap::Get(char const *)" (__imp_?Get@StringMap@@QAEPADPBD@Z)
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall StringMap::Set(char const *,char const *)" (__imp_?Set@StringMap@@QAEXPBD0@Z)
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall String::operator char *(void)" (__imp_??BString@@QAEPADXZ)
rule.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall String::operator char *(void)" (__imp_??BString@@QAEPADXZ)
parser.obj : error LNK2001: unresolved external symbol __imp__XMLGetAttrDWORD
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class String const & __thiscall String::operator=(char const *)" (__imp_??4String@@QAEABV0@PBD@Z)
parser.obj : error LNK2001: unresolved external symbol __imp__XMLGetAttr
parser.obj : error LNK2001: unresolved external symbol __imp__XMLGetAttrInt
parser.obj : error LNK2001: unresolved external symbol __imp__XMLGetAttrBoolean
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall String::IsEmpty(void)" (__imp_?IsEmpty@String@@QAEHXZ)
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall String::Strip(void)" (__imp_?Strip@String@@QAEXXZ)
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall String::AddString(char const *,unsigned long)" (__imp_?AddString@String@@QAEXPBDK@Z)
rule.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall String::AddString(char const *,unsigned long)" (__imp_?AddString@String@@QAEXPBDK@Z)
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall String::String(void)" (__imp_??0String@@QAE@XZ)
rule.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall String::String(void)" (__imp_??0String@@QAE@XZ)
parser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall String::~String(void)" (__imp_??1String@@QAE@XZ)
rule.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall String::~String(void)" (__imp_??1String@@QAE@XZ)
rule.obj : error LNK2001: unresolved external symbol __imp__regcomp
rule.obj : error LNK2001: unresolved external symbol __imp__regfree
rule.obj : error LNK2001: unresolved external symbol __imp__regexec
rule.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class String const & __thiscall String::operator+=(char const *)" (__imp_??YString@@QAEABV0@PBD@Z)
Debug/libnxlp.dll : fatal error LNK1120: 20 unresolved externals
Error executing link.exe.


Regards,

Antony Vasanth
#2
Windows / libnxmc external symbol error
December 12, 2008, 12:05:56 PM
Hi victor,

I am getting the following linker error in libxmnc.dll creation. Could you please help me on what library i have use to solve this error.Thanks.

Creating library Debug/libnxmc.lib and object Debug/libnxmc.exp
view.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
viewtracker.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
wxPieCtrl.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
objseldlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
policyEditor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
tools.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
userSelectionDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
graph.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
heading.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
image.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
nxview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::wxString(char const *)" (__imp_??0wxString@@QAE@PBD@Z)
graph.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const wxPanelNameStr" (__imp_?wxPanelNameStr@@3QBDB)
heading.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const wxPanelNameStr" (__imp_?wxPanelNameStr@@3QBDB)
nxview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const wxPanelNameStr" (__imp_?wxPanelNameStr@@3QBDB)
wxPieCtrl.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const wxPanelNameStr" (__imp_?wxPanelNameStr@@3QBDB)
wxPieCtrl.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxOnAssert(char const *,int,char const *,char const *,char const *)" (__imp_?wxOnAssert@@YAXPBDH000@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxOnAssert(char const *,int,char const *,char const *,char const *)" (__imp_?wxOnAssert@@YAXPBDH000@Z)
nxview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxOnAssert(char const *,int,char const *,char const *,char const *)" (__imp_?wxOnAssert@@YAXPBDH000@Z)
objseldlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxOnAssert(char const *,int,char const *,char const *,char const *)" (__imp_?wxOnAssert@@YAXPBDH000@Z)
userSelectionDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxOnAssert(char const *,int,char const *,char const *,char const *)" (__imp_?wxOnAssert@@YAXPBDH000@Z)
objseldlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static int __cdecl wxXmlResource::GetXRCID(char const *,int)" (__imp_?GetXRCID@wxXmlResource@@SAHPBDH@Z)
userSelectionDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static int __cdecl wxXmlResource::GetXRCID(char const *,int)" (__imp_?GetXRCID@wxXmlResource@@SAHPBDH@Z)
objseldlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxLogError(char const *,...)" (__imp_?wxLogError@@YAXPBDZZ)
objseldlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxLogDebug(char const *,...)" (__imp_?wxLogDebug@@YAXPBDZZ)
tools.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxLogDebug(char const *,...)" (__imp_?wxLogDebug@@YAXPBDZZ)
userSelectionDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxLogDebug(char const *,...)" (__imp_?wxLogDebug@@YAXPBDZZ)
policyEditor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) char const * const wxGridNameStr" (__imp_?wxGridNameStr@@3QBDB)
tools.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall wxStringBase::c_str(void)const " (__imp_?c_str@wxStringBase@@QBEPBDXZ)
tools.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class wxString & __thiscall wxString::operator+=(char const *)" (__imp_??YwxString@@QAEAAV0@PBD@Z)
tools.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxLogWarning(char const *,...)" (__imp_?wxLogWarning@@YAXPBDZZ)
view.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxLogWarning(char const *,...)" (__imp_?wxLogWarning@@YAXPBDZZ)
tools.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl wxLogMessage(char const *,...)" (__imp_?wxLogMessage@@YAXPBDZZ)
Debug/libnxmc.dll : fatal error LNK1120: 11 unresolved externals
Error executing link.exe.


Regards,

Antony vasanth.
#3
Windows / error in nxlexer
December 11, 2008, 03:46:14 PM
Hi victor ,

Good work .. thanks for the release 0.2.23 .

During compilation in debug mode i have got the following error . Could you please tell me on how to resolve this error.I don't have scilexerd.lib and i couldn't found the same in internet. If you could provide me the same i think i can overcome the nxlexer linker errors.

--------------------Configuration: nxlexer - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "scilexerd.lib"
Error executing link.exe.



Regards,

Antony Vasanth.
#4
Windows / errors in nxmibc
December 11, 2008, 02:13:23 PM
Hi Victor ,

I have got the following error . Kindly please help me to resolve the same

--------------------Configuration: nxmibc - Win32 Debug--------------------
Linking...
parser.tab.obj : error LNK2001: unresolved external symbol _mplex
parser.tab.obj : error LNK2001: unresolved external symbol _InitStateStack
parser.tab.obj : error LNK2001: unresolved external symbol _g_nCurrLine
parser.tab.obj : error LNK2001: unresolved external symbol _mpin
Debug/nxmibc.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.


Regards,

Antony Vasanth
#5
Windows / nxmp_parser linker errors
December 11, 2008, 01:36:45 PM
Hi victor,

I have compiled the flex version 2.5.33 and used that Executable. i have got the following errors. Kindly please help me to resolve the same. thanks in advance.


--------------------Configuration: nxcore - Win32 Debug--------------------
Linking...
   Creating library Debug/nxcore.lib and object Debug/nxcore.exp
nxmp_parser.obj : error LNK2001: unresolved external symbol "int __cdecl yylex_destroy(void *)" (?yylex_destroy@@YAHPAX@Z)
nxmp_parser.obj : error LNK2001: unresolved external symbol "void __cdecl yyset_extra(class NXMP_Lexer *,void *)" (?yyset_extra@@YAXPAVNXMP_Lexer@@PAX@Z)
nxmp_parser.obj : error LNK2001: unresolved external symbol "int __cdecl yylex_init(void * *)" (?yylex_init@@YAHPAPAX@Z)
nxmp_parser.tab.obj : error LNK2001: unresolved external symbol "int __cdecl yylex(union YYSTYPE *,void *,class NXMP_Parser *)" (?yylex@@YAHPATYYSTYPE@@PAXPAVNXMP_Parser@@@Z)
Debug/nxcore.dll : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.


Regards,

Antony Vasanth


#6
Hi victor ,

I have got the following link errors.I don't have idea on what library i have to add to overcome this error. please help me to resolve the same. Thanks. I am using wxWidgets 2.8.9 . I don't have the libraries for this version.



1.
--------------------Configuration: mcpAlarmBrowser - Win32 Debug--------------------
Linking...
   Creating library Debug/AlarmBrowser.lib and object Debug/AlarmBrowser.exp
LINK : warning LNK4049: locally defined symbol ""public: __thiscall wxEventHashTable::wxEventHashTable(struct wxEventTable const &)" (??0wxEventHashTable@@QAE@ABUwxEventTable@@@Z)" imported
LINK : warning LNK4049: locally defined symbol ""public: __thiscall wxEventHashTable::~wxEventHashTable(void)" (??1wxEventHashTable@@QAE@XZ)" imported
LINK : warning LNK4049: locally defined symbol ""int const wxEVT_NULL" (?wxEVT_NULL@@3HB)" imported
alarm_overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxDCBase::DrawLabel(class wxString const &,class wxRect const &,int,int)" (__imp_?DrawLabel@wxDCBase@@QAEXABVwxString@@ABVwxRect@@HH@Z)
node_overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxDCBase::DrawLabel(class wxString const &,class wxRect const &,int,int)" (__imp_?DrawLabel@wxDCBase@@QAEXABVwxString@@ABVwxRect@@HH@Z)
alarm_overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxRect::wxRect(int,int,int,int)" (__imp_??0wxRect@@QAE@HHHH@Z)
node_overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxRect::wxRect(int,int,int,int)" (__imp_??0wxRect@@QAE@HHHH@Z)

dashboard.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxSizer::Remove(class wxSizer *)" (?Remove@wxSizer@@UAE_NPAV1@@Z)
dashboard.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxSizer::Remove(int)" (?Remove@wxSizer@@UAE_NH@Z)
dashboard.obj : error LNK2001: unresolved external symbol "public: virtual class wxSizerItem * __thiscall wxSizer::Insert(unsigned int,class wxSizerItem *)" (?Insert@wxSizer@@UAEPAVwxSizerItem@@IPAV2@@Z)
dashboard.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxBoxSizer::GetClassInfo(void)const " (?GetClassInfo@wxBoxSizer@@UBEPAVwxClassInfo@@XZ)
dashboard.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxCommandEvent::~wxCommandEvent(void)" (__imp_??1wxCommandEvent@@UAE@XZ)
dashboard.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxEvtHandler::AddPendingEvent(class wxEvent &)" (__imp_?AddPendingEvent@wxEvtHandler@@QAEXAAVwxEvent@@@Z)

2.
--------------------Configuration: mcpObjectBrowser - Win32 Debug--------------------
Linking...
   Creating library Debug/ObjectBrowser.lib and object Debug/ObjectBrowser.exp

graphview.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxTimer::GetClassInfo(void)const " (?GetClassInfo@wxTimer@@UBEPAVwxClassInfo@@XZ)
nodelastval.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxTimer::GetClassInfo(void)const " (?GetClassInfo@wxTimer@@UBEPAVwxClassInfo@@XZ)
graphview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxTimer::wxTimer(class wxEvtHandler *,int)" (__imp_??0wxTimer@@QAE@PAVwxEvtHandler@@H@Z)
nodelastval.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxTimer::wxTimer(class wxEvtHandler *,int)" (__imp_??0wxTimer@@QAE@PAVwxEvtHandler@@H@Z)


view.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxControlBase::DoUpdateWindowUI(class wxUpdateUIEvent &)" (?DoUpdateWindowUI@wxControlBase@@UAEXAAVwxUpdateUIEvent@@@Z)
view.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxControlBase::SetFont(class wxFont const &)" (?SetFont@wxControlBase@@UAE_NABVwxFont@@@Z)
view.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxListCtrl::SetForegroundColour(class wxColour const &)" (?SetForegroundColour@wxListCtrl@@UAE_NABVwxColour@@@Z)
view.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxListCtrl::SetBackgroundColour(class wxColour const &)" (?SetBackgroundColour@wxListCtrl@@UAE_NABVwxColour@@@Z)
view.obj : error LNK2001: unresolved external symbol "public: virtual struct wxVisualAttributes __thiscall wxListCtrl::GetDefaultAttributes(void)const " (?GetDefaultAttributes@wxListCtrl@@UBE?AUwxVisualAttributes@@XZ)
view.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxListCtrl::SetWindowStyleFlag(long)" (?SetWindowStyleFlag@wxListCtrl@@UAEXJ@Z)

3.
--------------------Configuration: mcpDashboard - Win32 Debug--------------------
Linking...
   Creating library Debug/Dashboard.lib and object Debug/Dashboard.exp
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall wxListEvent::GetColumn(void)const " (__imp_?GetColumn@wxListEvent@@QBEHXZ)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxListView::ClearColumnImage(int)" (__imp_?ClearColumnImage@wxListView@@QAEXH@Z)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall wxListView::GetNextSelected(long)const " (__imp_?GetNextSelected@wxListView@@QBEJJ@Z)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: unsigned long __thiscall wxListCtrl::GetItemData(long)const " (__imp_?GetItemData@wxListCtrl@@QBEKJ@Z)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall wxListView::GetFirstSelected(void)const " (__imp_?GetFirstSelected@wxListView@@QBEJXZ)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall wxListCtrl::GetSelectedItemCount(void)const " (__imp_?GetSelectedItemCount@wxListCtrl@@QBEHXZ)
lastvalues.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxImageList::~wxImageList(void)" (__imp_??1wxImageList@@UAE@XZ)
objview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxImageList::~wxImageList(void)" (__imp_??1wxImageList@@UAE@XZ)

overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxBoxSizer::wxBoxSizer(int)" (__imp_??0wxBoxSizer@@QAE@H@Z)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxBoxSizer::~wxBoxSizer(void)" (__imp_??1wxBoxSizer@@UAE@XZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall wxListCtrl::InsertItem(long,class wxString const &)" (__imp_?InsertItem@wxListCtrl@@QAEJJABVwxString@@@Z)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) bool __cdecl wxLaunchDefaultBrowser(class wxString const &,int)" (__imp_?wxLaunchDefaultBrowser@@YA_NABVwxString@@H@Z)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall wxStringBase::c_str(void)const " (__imp_?c_str@wxStringBase@@QBEPBDXZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall wxTextUrlEvent::GetURLStart(void)const " (__imp_?GetURLStart@wxTextUrlEvent@@QBEJXZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: long __thiscall wxTextUrlEvent::GetURLEnd(void)const " (__imp_?GetURLEnd@wxTextUrlEvent@@QBEJXZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall wxMouseEvent::LeftDown(void)const " (__imp_?LeftDown@wxMouseEvent@@QBE_NXZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class wxMouseEvent const & __thiscall wxTextUrlEvent::GetMouseEvent(void)const " (__imp_?GetMouseEvent@wxTextUrlEvent@@QBEABVwxMouseEvent@@XZ)
overview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxTextCtrl::~wxTextCtrl(void)" (__imp_??1wxTextCtrl@@UAE@XZ)

Regards,

Antony Vasanth.
#7
Windows / Flex errors
December 10, 2008, 02:16:12 PM
Hi victor,

           While compiling in windows environment i have got the following error.
1.
--------------------Configuration: libnxsl - Win32 Debug--------------------
Compiling .\parser.l
flex: unknown flag '-'.  For usage, try
flex --help
Error executing c:\windows\system32\cmd.exe.

2.

nxconfig.exe - 0 error(s), 0 warning(s)
--------------------Configuration: nxcore - Win32 Debug--------------------
Compiling .\nxmp_parser.l
flex: unknown flag '-'.  For usage, try
flex --help
Error executing c:\windows\system32\cmd.exe.


I am using flex 2.5.4a version. Could you please tell me what is the solution i can follow to resolve the above error


Regards,

Antony Vasanth
#8
Windows / Need for wxrc.exe file
December 09, 2008, 11:08:25 AM
Hi Victor,

I am not able to find wxrc.exe file in wxwidgets 2.8.9 .. Could u please tell me which version of wxwidgets you are using to compile and if possible please upload the wxrc.exe  executable.Thanks .

Regards,

Antony Vasanth.
#9
Windows / Linker error in various netxms projects
December 04, 2008, 01:28:13 PM
Hi victor,

As you have suggested i have downloaded the following files from

http://www.christopherlewis.com/WGet/WGetFiles.htm

Files :

     ssllibs.098b.b.zip : ZIP file containing the 098b SSL DLLs including MSVCR80.dll.
     openssl.098b.full.zip : Full OpenSSL directory built from source using VC++ 2005

and included the executable,include and library path. After compiling I getting the following errors

1. libnetxms

Linking...
   Creating library Debug/libnetxms.lib and object Debug/libnetxms.exp
nxcp.obj : error LNK2001: unresolved external symbol _CSCPDecryptMessage
nxcp.obj : error LNK2001: unresolved external symbol _CSCPEncryptMessage
StackWalker.obj : error LNK2001: unresolved external symbol __imp__GetUserNameA@8
Debug/libnetxms.dll : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
Creating browse info file...

2. libnxsrv

Creating library Debug/libnxsrv.lib and object Debug/libnxsrv.exp
agent.obj : error LNK2001: unresolved external symbol __imp__DestroyEncryptionContext
agent.obj : error LNK2001: unresolved external symbol __imp__CSCPEncryptMessage
agent.obj : error LNK2001: unresolved external symbol __imp__SetupEncryptionContext
agent.obj : error LNK2001: unresolved external symbol __imp__PrepareKeyRequestMsg
Debug/libnxsrv.dll : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.

3. nxaction

nxaction.obj : error LNK2001: unresolved external symbol __imp__LoadRSAKeys
nxaction.obj : error LNK2001: unresolved external symbol __imp__InitCryptoLib
Debug/nxaction.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

4. nxagentd

getparam.obj : error LNK2001: unresolved external symbol __imp__CSCPGetSupportedCiphers
nxagentd.obj : error LNK2001: unresolved external symbol __imp__InitCryptoLib
session.obj : error LNK2001: unresolved external symbol __imp__DestroyEncryptionContext
session.obj : error LNK2001: unresolved external symbol __imp__SetupEncryptionContext
session.obj : error LNK2001: unresolved external symbol __imp__CSCPEncryptMessage
Debug/nxagentd.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.

5.nxcon

comm.cpp
F:\project-development\netxms-0.2.22\netxms-0.2.22\src\console\win32\comm.cpp(153) : error C2065: 'SignMessageWithCAPI' : undeclared identifier
Generating Code...

6. nxget

nxget.obj : error LNK2001: unresolved external symbol __imp__LoadRSAKeys
nxget.obj : error LNK2001: unresolved external symbol __imp__InitCryptoLib
Debug/nxget.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

7. nxupload

nxupload.obj : error LNK2001: unresolved external symbol __imp__LoadRSAKeys
nxupload.obj : error LNK2001: unresolved external symbol __imp__InitCryptoLib
Debug/nxupload.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

Kindly please help me to resolve the errors ..If you could give me the openssl 0.9.8b download link I will be grateful. Also please suggest me is there any alternative cause.

Regards,

Antony vasanth


#10
Windows / Linker error in nxlexer
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
#11
Windows / Processing .\rc\wxfb_code.xrc
December 03, 2008, 12:37:55 PM
Hi victor,

Do i need to install perl and wsrc to fix the following error. If not what i have to do to resolve this . Thanks in advance

nxlexer.dll - 24 error(s), 0 warning(s)
--------------------Configuration: nxmc - Win32 Debug--------------------
Processing .\rc\wxfb_code.xrc
'perl' is not recognized as an internal or external command,
operable program or batch file.
'wxrc' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\windows\system32\cmd.exe.


Regards,

Antony Vasanth
#12
Hi victor,

Please help me out on resolving the following problem . Thanks in advance

1.
nxconfig.exe - 0 error(s), 0 warning(s)
--------------------Configuration: nxcore - Win32 Debug--------------------
Compiling .\nxmp_parser.l
flex: unknown flag '-'.  For usage, try
flex --help
Error executing c:\windows\system32\cmd.exe.

2.

ibnetxms.dll - 4 error(s), 0 warning(s)
--------------------Configuration: libnxcl - Win32 Debug--------------------
Linking...
   Creating library Debug/libnxcl.lib and object Debug/libnxcl.exp
comm.obj : error LNK2001: unresolved external symbol __imp__SetupEncryptionContext
main.obj : error LNK2001: unresolved external symbol __imp__InitCryptoLib
session.obj : error LNK2001: unresolved external symbol __imp__DestroyEncryptionContext
session.obj : error LNK2001: unresolved external symbol __imp__CSCPEncryptMessage
Debug/libnxcl.dll : fatal error LNK1120: 4 unresolved externals


Regards,

Antony vasanth
#13
Windows / Error in logindialog.h
December 03, 2008, 12:21:03 PM
Hi victor,

Could u please tell me how to resolve this . Thanks in advance


f:\project-development\netxms-0.2.22\netxms-0.2.22\src\console\nxuilib\logindialog.h(18) : error C2143: syntax error : missing ';' before '*'
f:\project-development\netxms-0.2.22\netxms-0.2.22\src\console\nxuilib\logindialog.h(18) : error C2501: 'pCert' : missing storage-class or type specifiers

Regards,

Antony vasanth
#14
Windows / external symbol unresolved error
December 03, 2008, 12:18:02 PM
--------------------Configuration: netxmsd - Win32 Debug--------------------
Hi victor,

I am getting the external symbol unresolved error . what i have to do to resolve this. thanks

Linking...
LINK : fatal error LNK1104: cannot open file "nxcore.lib"
Error executing link.exe.

netxmsd.exe - 1 error(s), 0 warning(s)
--------------------Configuration: nxaction - Win32 Debug--------------------
Linking...
nxaction.obj : error LNK2001: unresolved external symbol __imp__LoadRSAKeys
nxaction.obj : error LNK2001: unresolved external symbol __imp__InitCryptoLib
Debug/nxaction.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.


Regards,

Antony vasanth

#15
Windows / nxagentd files missing
December 03, 2008, 08:56:40 AM
Hi victor,

Following files are missing .Kindly please help me to resolve the same.Thanks .


nxagentd.exe - 2 error(s), 0 warning(s)
--------------------Configuration: nxagentd - Win32 Debug AMD64--------------------
Compiling...
netinfo.cpp
fatal error C1083: Cannot open source file: 'F:\project-development\netxms-0.2.22\netxms-0.2.22\src\agent\core\netinfo.cpp': No such file or directory
service.cpp
fatal error C1083: Cannot open source file: 'F:\project-development\netxms-0.2.22\netxms-0.2.22\src\agent\core\service.cpp': No such file or directory


Regards,

Antony Vasanth
#16
Windows / File missing in netxmsd
December 02, 2008, 07:38:29 PM
Hi victor,

I have come across the following file missing during the project compilation in VC6 workspace. Kindly please help me to resolve the same. Thanks.


--------------------Configuration: netxmsd - Win32 Debug--------------------
Build : warning : failed to (or don't know how to) build 'F:\project-development\netxms-0.2.22\netxms-0.2.22\src\server\netxmsd\winsrv.cpp'
Compiling...
winsrv.cpp
fatal error C1083: Cannot open source file: 'F:\project-development\netxms-0.2.22\netxms-0.2.22\src\server\netxmsd\winsrv.cpp': No such file or directory
Error executing cl.exe.


Regards,

Antony Vasanth


#17
Windows / Linker error
November 20, 2008, 01:55:34 PM
Hi Victor,

I have got the following linker errors . could u please help me to resolve the same . Thanks in advance..

Creating library Debug\netxms.lib and object Debug\netxms.exp
1>CVTRES : fatal error CVT1100: duplicate resource.  type:XRS, name:101, language:0x0409
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt


Regards,

Antony Vasanth.
#18
Windows / inconsistent dll linkage
November 20, 2008, 12:55:16 PM
Hi Victor,

Could you please help me to resolve this warning .. which creates problem during the linking stage.. Thanks in advance.

c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\include\netxms_maps.h(142) : see previous definition of '{ctor}'
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\libnxmap\objlist.cpp(59) : warning C4273: 'nxmap_ObjList::nxmap_ObjList' : inconsistent dll linkage
1>        c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\include\netxms_maps.h(141) : see previous definition of '{ctor}'
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\libnxmap\objlist.cpp(72) : warning C4273: 'nxmap_ObjList::~nxmap_ObjList' : inconsistent dll linkage
1>        c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\include\netxms_maps.h(143) : see previous definition of '{dtor}'
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\libnxmap\objlist.cpp(83) : warning C4273: 'nxmap_ObjList::Clear' : inconsistent dll linkage


Regards,

Antony Vasanth.
#19
Windows / Files missing
November 20, 2008, 11:12:27 AM
Hi Victor ,

I have found some the following files missing during compilation using VC++2005. The files are

MSG00001.bin
ack.ico
trap.ico
package.ico
database.ico
nxmc.ico
desktop.ico

Kindly please provide me the above files.Thanks in advance.

Regards,

Antony vasanth.



#20
Windows / Error2 during compilation
November 19, 2008, 02:49:31 PM
HI victor,

      During compilation I have got the following errors

1. 1>d:\netxms-nov17\netxms-0.2.22\src\console\win32\grouppropdlg.cpp(76) : error C2065: 'IDC_CHECK_ACCESS_FILES' : undeclared identifier

2. 1>d:\netxms-nov17\netxms-0.2.22\src\console\win32\grouppropdlg.cpp(77) : error C2065: 'IDC_CHECK_REGISTER_AGENTS' : undeclared identifier

Kindly please help me to resolve the same ..

Thanks in advance

Regards,

Antony Vasanth