I used the windows install for 0mq. I try to compile an hello world code... I use Qt c++ with Qt creator and mingw compiler of course.
I even tried recompile 0mq with the python script or something like that on the site... and make give me errors. I do all in 32 bits to be sure. My laptop is windows 7 pro 64 bits. I can compile my code with clang++ in ubuntu linux or freebsd with binary 0mq. I can compile in Qt creator in ubuntu with g++ too and binary for 0mq. On Dec 12, 2016 7:21 AM, "Oleksii Zamiatin" <[email protected]> wrote: Hi, Which compiler do you use on Windows and how do you install zmq (build from sources)? For MSVC the name of the library will be zmq.lib so -lzmq extracted to libzmq.a will point to non existent library. -lzmq should work for MinGW, but I’d double check on pathes configuration. > On Dec 12, 2016, at 14:14, Eric Gendron <[email protected]> wrote: > > > Hi > > I succeed to use 0mq in linux and freebsd with clang++ > > Now I would like to compile the code in Qt C++ windows and I didn't succeed to link with the 0mq library or even compile it. > > I would like to know how to do it. > > Qt can't find -lzmq in LIBS command in .pro file. > > I tried to install 0mq 4.2 binaries windows 32 bits and copy zmq.hpp I found in git in the same folder than .h > > Also I have a message that zmq_msg_gets doesn't exist. > > Really not easy to make it work. > > Thanks. > > _______________________________________________ > zeromq-dev mailing list > [email protected] > https://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
