NetXMS Support Forum

English Support => General Support => Topic started by: terry on July 08, 2006, 05:09:06 PM

Title: Compile for Windows Environment
Post by: terry on July 08, 2006, 05:09:06 PM
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
Title: Compile for Windows Environment
Post by: Victor Kirhenshtein on July 10, 2006, 05:02:56 PM
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
Title: Compile for Windows Environment
Post by: terry on February 17, 2007, 04:07:11 AM
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
Title: Re: Compile for Windows Environment
Post by: johnz on August 06, 2007, 11:56:22 PM
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
Title: Re: Compile for Windows Environment
Post by: johnz on August 07, 2007, 02:34:09 AM
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.