Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paho build script fails for CPP #3

Open
neilyoung opened this issue Apr 19, 2024 · 1 comment
Open

paho build script fails for CPP #3

neilyoung opened this issue Apr 19, 2024 · 1 comment

Comments

@neilyoung
Copy link

ubuntu@ai:~/test/build-deps/paho.mqtt.cpp$ cmake -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_STATIC=TRUE -DPAHO_BUILD_SHARED=FALSE         -DPAHO_MQTT_C_PATH=../paho.mqtt.c/ -DPAHO_MQTT_C_LIB=../paho.mqtt.c/src/libpaho.mqtt3as-static.a ${CROSS_COMPILE_ARG}
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


-- Configuring done
CMake Error at src/CMakeLists.txt:80 (add_library):
  Target "paho-mqttpp3-static" links to target
  "eclipse-paho-mqtt-c::paho-mqtt3as-static" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Would you know, why?

@neilyoung
Copy link
Author

The original gist works better meanwhile

https://github.com/eclipse/paho.mqtt.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant