Install eclipses mqtt.paho.cpp as static library #1478
Unanswered
avvocato-sudo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I try for a while now to get the mqtt.paho.cpp from eclispe on my machine (windows 11) to use it as a static library for project in QNX (embeded).
I follow the step as told in the readme of the repository, but when i get to the point to call the follwoing command on cmd:
cmake -Bbuild -H. -DCMAKE_INSTALL_PREFIX=C:\mqtt\paho-cpp -DPAHO_BUILD_SAMPLES=ON -DPAHO_WITH_SSL=OFF -DCMAKE_PREFIX_PATH=C:\mqtt\paho-c
I always get the following error
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22631.
-- Configuring done (0.0s)
CMake Error at src/CMakeLists.txt:84 (target_link_libraries):
Target "paho-mqttpp3-static" links to:
but the target was not found. Possible reasons include:
-- Generating done (0.1s)
CMake Generate step failed. Build files cannot be regenerated correctly.
I have absolutely no clue about cmake, so i would appreciate some help.
Thx!
Beta Was this translation helpful? Give feedback.
All reactions