[zeromq-dev] CZMQ Build Error on Windows 10

Luca Boccassi luca.boccassi at gmail.com
Sat Oct 21 16:25:39 CEST 2017

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:


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

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

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20171021/4a64f869/attachment.sig>

More information about the zeromq-dev mailing list