Integration problem using iceoryx2 in custom C++ project #1162
Unanswered
C137Engineer
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
We need to adjust the quickstart guide. Please no not set the Please check these instructions: https://github.com/eclipse-iceoryx/iceoryx2/blob/main/iceoryx2-cxx/README.md We'll work on a cmake template which will use FetchContent to simplify the setup. Additionally, we will move the parts of iceoryx classic, which are used for the C++ bindings into the iceoryx2 repo. This should also help. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m currently trying to use iceoryx2 in my c++ Project but ran into some issue.
I started with the Quickstart Guide in the iceoryx2 Book. For installation, I cloned iceoryx2 into my home directory and followed the Build Instructions for integrator instruction. I also installed all dependencies on my machine using the install_dependencies_ubuntu.sh script.
For testing, I copied the example folder request_response into my home directory and adapted the
CMakeLists.txtaccording to the Quickstart Guide:Click to expand
But this results in the following error:
Click to expand
Then I tried to align more closely with the original CMake configuration from the repo:
Click to expand
This compiles, but running the binary fails with:
If I set the library path manually, it works, but this workaround feels wrong, as if something is missing or faulty.
Is there something I’m missing during installation or linking and should
find_package(iceoryx2)work, or isiceoryx2-cxxcurrently the correct way to integrate it?Any suggestions or hints would be helpful, thanks!
System environment:
Ubuntu 24.04 (fresh install)
Build commands:
Beta Was this translation helpful? Give feedback.
All reactions