Errors: during compilation

Started by antonyvasanth, November 19, 2008, 02:12:42 PM

Previous topic - Next topic

antonyvasanth

Hi Victor,

I am getting the following errors during compilation.Kindly please help me to resolve the same . Thanks in advance.

1.  c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\usereditor.cpp(399) : error C2039: 'm_bManageModules' : is not a member of 'CGroupPropDlg'

2. c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\agent\subagents\netware\nwagent.h(31) : fatal error C1083: Cannot open include file: 'nks/plat.h': No such file or directory

3. c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\nxreport\nxreport.cpp(244) : error C4716: 'ReportNodeList' : must return a value

4. 1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectview.cpp(119) : error C2664: 'CToolBarCtrl::AddStrings' : cannot convert parameter 1 from 'const unsigned short [45]' to 'LPCTSTR'

Regards,

Antony Vasanth


Victor Kirhenshtein

1. It's because I post there missing files taken from current branch, not 0.2.22. Try to compile latest 0.2.23-rc or wait a few days for official 0.2.23 release.
2. NetWare subagent intended for Novell NetWare platform - you need Novell SDK and supported compiler (I use GCC) to compile it - it's not intended to be compiled by Visual C++ into Windows executable.
3. nxreport is outdated tool - it may not compile, because nobody actually test it.
4. Strange error, try to add explicit type cast to LPCTSTR.

Best regards,
Victor