Compile for Windows Environment

Started by bimal, July 08, 2006, 05:09:06 PM

Previous topic - Next topic

terry

I serached NetXMS site to know the compile enviroment for Windows platform.
But, I can't find it.

I knew there are to need other resources to compile.
But, I don't know excactly.

Anyone knows the compile environment for windows platform,
please let us know.

Regards,
-Terry

Victor Kirhenshtein

Hello!

To compile NetXMS on Windows, you have to have the following packages and libraries:

1. Latest Microsoft Platform SDK
2. OpenSSL library. Currently we use 0.9.8a, but any other recent version should be ok.
3. Scintilla library (used only by GUI components)
4. ZLib
5. Microsoft Speech SDK (used only by GUI components)
6. Windows DDK (XP or 2003 version)
7. GD library (used only by nxhttpd)

Everything should be built with VC++ 6.0.

Hope this helps!

Also, we are starting to provide commercial NetXMS support. Detailed information will be published on our web site very soon, so you can contact us if you ar interested.

Best regards,
Victor

terry

I found new environments.

Must install bison and FLEX for windows.

To get the setup file of bison, visit http://gnuwin32.sourceforge.net/packages/bison.htm
To get the setup file of FLEX, visit http://gnuwin32.sourceforge.net/packages/flex.htm

After the installation, must set the environment in Visual studio.

* navigate the menu : Tools --> Options --> Directory
    1) select "Excutable files" in "Show Directory for" item.
    2) add the path for bison and FLEX

* navigate the menu :  Tools --> Options --> Directory
    1) select "include files" in "Show Directory for" item.
    2) add the path for "bison's include directory"

Best Regards,
-Terry

johnz

Thank Victor and Terry for the information. Do you have detailed instruction about running configure, generate makefile in Windows environment? I tried msdev xyz.dsw /make and it gave out error messages. Thanks in advance. -JZ

johnz

Sorry for the false alarm. The error was produced by incompatibility of ASCII files between Unix and DOS. Using a tool such as Winzip to unpack source.tgz and make sure to handle CR/LF between Unix and DOS properly.