Compile NetXMS server for Windows
-
Hi!
I can't seem to find information about this. What is the procedure to compile NetXMS server for Windows? I know that there is a .sln file, but do I have to have some compiler configurations set in a specific way if I want to have a result that is most similar to the distributed server binary?
Thanks in advance!
-
Hi,
you need Visual Studio 2017, and some precompiled 3rd party libraries: OpenSSL, libssh, libmosquitto, libcurl, database client libraries. You should add those libraries to include path and library path of Visual Studio. You will also need flex, bison, and perl in your path.
In general, setting up Windows build environment is much more complicated than Linux one, so if you have a choice, I'd really recommend going with Linux.Best regards,
Victor -
-
Hi,
no, not cross compile - just if you have a choice of platform then Linux is easier to work with.
Best regards,
Victor -
Hi!
Is it safe to upgrade the Windows 7 SDK (change it to e. g. Windows 10 in the relevant projects)? For some reason (I don't know yet why) the Visual Studio's compiler gives me a lot of syntax errors from the SDK. Or maybe its a known issue is there any solution to this?
-
Hi,
should be safe.
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login