[zeromq-dev] CZMQ on Windows 10
Stephen Gray
riskybizlive at live.com
Sat Oct 7 18:39:07 CEST 2017
I've just built CZMQ on Windows 10 which was not straight-forward; the CZMQ readme file instructs;
git clone git://github.com/zeromq/czmq.git
cd czmq\builds\msvc
configure.bat
cd build
buildall.bat
cd ..\..\..\..
but there is no 'build' folder to 'cd build' into and I can't find buildall.bat. Anyhow I opened the supplied Visual Studio 2015 solution and built a few configurations that way. czmq_selftest was not found, so instead I tried a little test program<http://czmq.zeromq.org/>:
#include <czmq.h>
int main (void)
{
zsock_t *push = zsock_new_push ("inproc://example");
zsock_t *pull = zsock_new_pull ("inproc://example");
zstr_send (push, "Hello, World");
char *string = zstr_recv (pull);
puts (string);
zstr_free (&string);
zsock_destroy (&pull);
zsock_destroy (&push);
return 0;
}
This compiled but when it runs it crashes with the output;
Hello, World
Assertion failed: Successful WSASTARTUP not yet performed (..\..\..\..\src\signaler.cpp:192)
Not a great start; anyone know what might be wrong here and please could the command line instructions to build CZMQ on Windows be corrected in the readme?
Would really love to get to work with CZMQ on Windows ;-)
With thanks,
Riskybiz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20171007/362d1fbf/attachment.htm>
More information about the zeromq-dev
mailing list