Hello!
Premise:
I’m new to the drone world and QGC!
I’m working on a customization of QGC; I created the custom
directory and added all my files inside it and everything is working fine. Now, I’d like to open a ZeroMQ server once the fly view is shown. I installed czmq on my Windows machine using vcpkg and I can successfully compile a cpp file that uses czmq. The problem comes when I try to add the library inside my custom
directory.
I added the following to the qgroundcontrol.pro file:
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../vcpkg/packages/zeromq_x64-windows/lib/ -llibzmq-mt-4_3_5
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../vcpkg/packages/zeromq_x64-windows/lib/ -llibzmq-mt-4_3_5d
else:unix: LIBS += -L$$PWD/../vcpkg/packages/zeromq_x64-windows/lib/ -llibzmq-mt-4_3_5
INCLUDEPATH += $$PWD/../vcpkg/packages/zeromq_x64-windows/include
DEPENDPATH += $$PWD/../vcpkg/packages/zeromq_x64-windows/include
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../vcpkg/packages/czmq_x64-windows/lib/ -lczmq
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../vcpkg/packages/czmq_x64-windows/lib/ -lczmqd
else:unix: LIBS += -L$$PWD/../vcpkg/packages/czmq_x64-windows/lib/ -lczmq
INCLUDEPATH += $$PWD/../vcpkg/packages/czmq_x64-windows/include
DEPENDPATH += $$PWD/../vcpkg/packages/czmq_x64-windows/include
but I get the following error messages:
What am I doing wrong?
I appreciate any help!
Thank you!