Author Topic: Compilation for Windows, missing files  (Read 7592 times)

Beda

  • Newbie
  • *
  • Posts: 26
    • View Profile
Compilation for Windows, missing files
« on: February 15, 2013, 11:04:11 am »
Hi,
I encountered a following problem when compiling NetXMS 1.2.5 (stable) in Visual Studio 2010 Professional on 64b Windows7.
It seems that a file netxms.sln contains references to files not included in source tar.gz archive.
For example files
- src\libtre\xmalloc.c
- src\agent\core\messages.rc
- src\agent\subagents\dbquery\dbquery.vcproj
- src\libexpat\libexpat\libexpat.vcproj
- src\libnxmb\libnxmb.vcproj
- src\nxlptest\nxlptest.vcproj
- src\flow_analyzer\libipfix\libipfix.vcproj
- src\flow_analyzer\nxflowd\nxflowd.vcproj
- src\nxinstall\nxinstall.vcproj
are missing. I'm not sure if these files are necessary, but either some source files are missing or netxms.sln is not actual.
Please, could you upload a consistent version of stable sources and project file for VS?

And do you really use VS for compiling NetXMS for Windows or do you use another method (cross-compilation)? Maybe this is the most important part of the question for me, because my goal is to compile NetXMS for Windows from modified sources.

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 7200
    • View Profile
Re: Compilation for Windows, missing files
« Reply #1 on: February 15, 2013, 04:48:49 pm »
Hi!

We use Visual Studio 2005 for building NetXMS on Windows. I'll check and fix missing files. In the meantime you can use SVN snapshot to get these files: https://www.netxms.org/download/netxms-svn.tar.gz.

Best regards,
Victor

Beda

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Compilation for Windows, missing files
« Reply #2 on: February 16, 2013, 01:21:02 pm »
Thank you for your answer, I found all vcproj files and xmalloc.c in an SVN.
Also I found out that the file messages.rc is not missing, but it is generated from messages.mc (at least I hope it should work like this after correct setting of my VS).