zeromq / zmqpp

0mq 'highlevel' C++ bindings
http://zeromq.github.io/zmqpp
Mozilla Public License 2.0
439 stars 195 forks source link

Building for Windows #256

Open dolph1nn opened 2 months ago

dolph1nn commented 2 months ago

Hi, I'm having issues building this library for windows, wondering if I'm doing something wrong or if Windows is just an unsupported platform. I can install libzmq using cmake and then MSBuild, but when adding zmqpp into the mix I get these errors on the generate step: image

(and more). I've also tried manually building libzmq and installing it but then zmqpp isn't able to find the library files, as it expects them to be called "libzmq.lib" and the installed files have a suffix at the end. I then tried renaming the files/etc but that just leads to compile time errors. I'll post a screenshot of the compile time error tonight when I get home tonight. I can build just fine on Ubuntu, but I'd like to have my program be cross-platform if possible. This is on the master branch, Windows 10 and Visual Studio 22. Thanks in advance!