Hi,
I am just in the stage of beginning compile 0.2.31 with VC++ 6 EE.
I tried to compile libnetxms but I come across a message like to title of this topic.
Could you let me know what is happenning?
--------------------Configuration: libnetxms - Win32 Debug--------------------
Compiling...
agent.cpp
c:\program files\microsoft visual studio\vc98\include\mswsock.h(69) : error C2065: 'SOCKET' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\mswsock.h(69) : error C2146: syntax error : missing ')' before identifier 's'
Regards,
Joseph
Probably something is wrong with headers you are using. Attached is my startup file for VC6, may be it will help. I use Platform SDK for Windows Server 2003, because many headers and libraries in VC6 distribution is outdated or missing.
Best regards,
Victor
Hi Victor,
Thank you for your prompt support. I'll try it and let you know the result.
Do I need all packages included in your cmd file?
I think I have some of them only.
Probably, I need to setup environment again.
Regards,
Joseph
Hi!
You need Platform SDK, OpenSSL, and ZLib. Others required only for some components:
DDK - for UPS subagent;
libgd - for nxhttpd;
DB library - for MSSQL database driver;
Scintilla - for management console;
Microsoft Speech SDK - for management console;
MySQL client - for MySQL database driver;
PostgreSQL client - for PostgreSQL database driver;
Oracle client - for Oracle database driver;
Packages not listed here are not needed for NetXMS build.
Best regards,
Victor
Hi Victor,
Great hear from you again.
Thank you very much.
Best Regards,
Joseph Hahn