Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Compile NetXMS server for Windows

Compile NetXMS server for Windows

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 35.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    Sch.Donat
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • S
        S
        Sch.Donat
        wrote on last edited by
        #3

        Hi!

        Thanks for the info!

        I can already see that it will be a long process.

        By going with Linux you mean doing cross compile? I sadly need NetXMS on Windows, I have no say in that

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          Hi,

          no, not cross compile - just if you have a choice of platform then Linux is easier to work with.

          Best regards,
          Victor

          1 Reply Last reply
          0
          • S
            S
            Sch.Donat
            wrote on last edited by
            #5

            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?

            1 Reply Last reply
            0
            • V
              V
              Victor Kirhenshtein
              wrote on last edited by
              #6

              Hi,

              should be safe.

              Best regards,
              Victor

              1 Reply Last reply
              0
              • S
                S
                Sch.Donat
                wrote on last edited by
                #7

                HI!

                Just to let you know, I was able to compile it. Thanks for the help!

                1 Reply Last reply
                0

                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups