NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: Compile for Windows Environment  (Read 4838 times)

terry

  • Newbie
  • *
  • Posts: 16
    • View Profile
Compile for Windows Environment
« 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
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6655
    • View Profile
Compile for Windows Environment
« Reply #1 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
Logged

terry

  • Newbie
  • *
  • Posts: 16
    • View Profile
Compile for Windows Environment
« Reply #2 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'>http://gnuwin32.sourceforge.net/packages/bison.htm
To get the setup file of FLEX, visit http://gnuwin32.sourceforge.net/packages/flex.htm'>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
Logged

johnz

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Compile for Windows Environment
« Reply #3 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
Logged

johnz

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Compile for Windows Environment
« Reply #4 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. 
Logged