built project with ZERO MQ and windows msvc
-
Hello, all I am working on application in which it is compiled for both android as well as windows platform, this app includes zeroMQ for communicating with server
Also I have built zero libraries and used in android compiling it works perfectly andI built for linux also that is alos wokring perfect.
but I am not able build same application for windows MSVC platform, I tried to used libraries but is gives linker errors:
mainwindow.obj:-1: error: LNK2019: unresolved external symbol __imp_zmq_errno referenced in function "public: __cdecl zmq::error_t::error_t(void)" (??0error_t@zmq@@QEAA@XZ)
mainwindow.obj:-1: error: LNK2019: unresolved external symbol __imp_zmq_strerror referenced in function "public: virtual char const * __cdecl zmq::error_t::what(void)const " (?what@error_t@zmq@@UEBAPEBDXZ)can anyone suggest somthing on this , how to use zmq library with QT ?
-
Hi,
Are you using the CPP API of ZMQ ?
If so, did you compile it ?
If not, do you know which version of Visual Studio was used for that ? -
Hi SGaist,
yes I am using CPP API of ZMQ.
I am using visual studio 2017 for MSVC compiler
Yes, I tried to compile but not able to use it, If you know how to compile can you please guide me
I am using below library
https://github.com/jonnydee/nzmqt -
@AMOL I see that you've opened an issue at nzmqt repo. That's good.
And just in case, have you checked comment about msvc from issue 19? -
@Pablo-J-Rogina , Hey thank you for revert, I have check issue 19 in which it creates .dll libraries for windows, but when I used that build n crashed, I need .lib format or .a format, so that same way I used in android and linux
-
Can you explain what exactly do you have right now ?
-
Are you sure you have all dependencies properly placed.