nanomsgxx icon indicating copy to clipboard operation
nanomsgxx copied to clipboard

Windows support

Open sburke56 opened this issue 8 years ago • 3 comments

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)

sburke56 avatar Jul 08 '16 19:07 sburke56

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.

achille-roussel avatar Dec 03 '16 23:12 achille-roussel

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.

jaynus avatar Dec 17 '16 01:12 jaynus

any news

aliridha1510 avatar May 10 '18 22:05 aliridha1510