On Sat, 2017-10-21 at 13:32 +0000, Stephen Gray wrote: > I'm getting build errors in trying to build CZMQ on Windows 10 using > Visual Studio 2015. > > This is what I've done so far; > > git clone --depth 1 -b stable https://github.com/jedisct1/libsodium.g > it > cd libsodium\builds\msvc\build > buildall.bat > cd ..\..\..\.. > > :: if libsodium is on disk, the Windows build of libzmq will > automatically use it > git clone git://github.com/zeromq/libzmq.git > cd libzmq\builds\msvc > configure.bat > cd build > buildall.bat > cd ..\..\..\.. > > git clone git://github.com/zeromq/czmq.git > cd czmq\builds\msvc > configure.bat > cd vs2015 > build.bat > > > Here is a pastebin of the build.log error file https://pastebin.com/4 > aTS72qP > > Anyone know what this means and how to fix it?
If the DRAFT APIs are enabled, the file: src/czmq_private_selftest.c Needs to be included in the build of the library. I guess nobody has done that for the msvc solution yet - if you manage to get it working, could you please send a PR? Otherwise, you can disable the DRAFT APIs by passing --disable-drafts to configure.bat. > Also when configure.bat runs this output is given; > > C:\Users\Stephen\czmq\builds\msvc>configure.bat > Configuring CZMQ... > Building with libzmq > Building without uuid > Building without systemd > Building without lz4 > Building with draft API (stable + legacy + draft API) > > What are the implications of CZMQ building without certain > components? Optional features will not be available, or internal fallbacks will be used. More precisely, systemd support is Linux-only so it will be disabled (socket-activated services are a systemd specific thing anyway), uuid has an internal implementation fallback, lz4 is used for new zstr API that allow to compress strings before sending them so they'll just be disabled. -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part
_______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev