zeromq / cppzmq

Header-only C++ binding for libzmq
http://www.zeromq.org
MIT License
1.94k stars 757 forks source link

Linker errors with static `libzmq` version #531

Open demberto opened 2 years ago

demberto commented 2 years ago

OS: Windows 10 Visual Studio 2022 Installed via vcpkg

I installed the x64-windows-static triplet of cppzmq. It seems to have installed properly, since headers are available. In VS 2022, there is an option to use static vcpkg libs. I enabled it. I also changed the Runtime library options from /MTd to /MT and /MDd to /MD as I found it is required by boost. The non-static version builds and links completely fine. I want to reduce the amount of DLLs I bundle