Link ZeroMq and Qt 32bits
-
Hi
I want to build an application with ZeroMq.
I have a constraint that I need to use 32bits on windows.I downloaded a lib file from the github repository of ZMQ https://github.com/zeromq/libzmq/releases/tag/v4.3.4. I downloaded the v140 version, which is with x86 architecture (I checked with
dumpbin
command).
To add this lib to my project, I use the wizard. I select the file and I get the following lineswin32: LIBS += -L$$PWD/../../../Softwares/ZMQ/libzmq-v140-4_3_4/ -llibzmq-v140-mt-s-4_3_4 INCLUDEPATH += $$PWD/../../../Softwares/ZMQ/libzmq-v140-4_3_4 DEPENDPATH += $$PWD/../../../Softwares/ZMQ/libzmq-v140-4_3_4
Then I run
clean
,run qmake
and finallybuild
.
No matter what I try, I always get the error as shown in the picture below.unresolved external symbol
which for me means that the library is nto properly linked.
How can I debug this and find out what is wrong?I use: Qt 5.12.2 MSVC 2019 32bits
Thank you very much!
-
@Thombou said in Link ZeroMq and Qt 32bits:
-llibzmq-v140-mt-s-4_3_4
That should be
-lzmq-v140-mt-s-4_3_4
-