[zeromq-dev] Building CZMQ on Windows 10

Luca Boccassi luca.boccassi at gmail.com
Sat Oct 21 17:29:42 CEST 2017


On Sat, 2017-10-21 at 15:12 +0000, Stephen Gray wrote:
> So when building CZMQ using Visual Studio 2015 I disabled the draft
> API in order to circumvent this error;
> 
> 
> > 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.
> 
> 
> This is what I did at a Developer Command Prompt for VS2015;
> 
> C:\Users\Stephen\czmq\builds\msvc>configure.bat --disable-drafts
> Configuring CZMQ...
> Building with libzmq
> Building without uuid
> Building without systemd
> Building without lz4
> Building without draft API (stable + legacy API)
> 
> C:\Users\Stephen\czmq\builds\msvc>cd vs2015
> 
> C:\Users\Stephen\czmq\builds\msvc\vs2015>build.bat
> Building without uuid
> Building without systemd
> Building without lz4
> Building CZMQ... ()
> Platform=x86
> Configuration=DynDebug
> *** ERROR, build terminated early: see build.log
> 
> But this gave more and different errors,  here is a pastebin of the
> build.log file; https://pastebin.com/VQn5c0ZW
> 
> Anyone got any other suggestions to get CZMQ building successfully?
> 
> Thanks,
> 
> Stephen

Try adding src/czmq_private_selftest.c to the solution instead so that
it's built

-- 
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/bd648858/attachment.sig>


More information about the zeromq-dev mailing list