nanomsgxx
nanomsgxx copied to clipboard
Windows support
I noticed in the TODO file there is "Windows support" at the top. Is this supported?
I'm trying to build on Windows with a VS2014 shell and I'm stopping at the check for nanomsg. I was able to build nanomsg I'm just not sure how to tell waf where it is. Any help would be appreciated.
D:\Users\sburke\sandbox\nanomsgxx>python waf configure Setting top to : D:\Users\sburke\sandbox\nanomsgxx Setting out to : D:\Users\sburke\sandbox\nanomsgxx\build Checking for 'msvc' (c compiler) : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\CL.exe Checking for 'msvc' (c++ compiler) : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\CL.exe Checking for library nanomsg : not found The configuration failed (complete log in D:\Users\sburke\sandbox\nanomsgxx\build\config.log)
I have very little experience with Windows platforms so I'm really not sure how to help with that. I guess you need to have nanomsg installed at some standard path where the compiler can find it and it should work.
I have gotten it building on windows and linux (cross platform) with both clang and msvc with this build file: https://gist.github.com/jaynus/6b03724ba94500d267edb002cdfc72ee
This isn't a production file, but should get you started. Please note this file wasn't designed to build in the 'root' of nanomsgxx, you'll want to change NANOMSGXX_DIR appropriately for that.
any news