On Sat, 2017-10-07 at 16:39 +0000, Stephen Gray wrote: > 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.zerom > q.org/>:
it's builds\msvc
> #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 ;-)
Run zsys_shutdown() before exiting the program
signature.asc
Description: This is a digitally signed message part
_______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
