-
Notifications
You must be signed in to change notification settings - Fork 90
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
Compilation error while building ros2 humble on ubunutu 20.04 from source #480
Comments
Hi @Tan-B24. It seems like you trying to build |
When I try building it from the release/0.10.x branch it gives me error while building cyclonedds itself without going further to the rmw build. --- stderr: cyclonedds
|
Hi, I had the same error. What I tried and worked for me is I changed to the My current cyclonedds is cloned from this fork and not the original fork due to some system dependency issues. Current System: Ubuntu 22.04 |
Bug report
Required Info:
Ubuntu 20.04
building from source
Steps to reproduce issue
Following the steps to install ros2 humble on ubunutu 20.04 using the following:
https://docs.ros.org/en/humble/Installation/Alternatives/Ubuntu-Development-Setup.html
Expected behavior
Should compile without errors.
Actual behavior
I am getting this error while compiling the ros2 workspace.
--- stderr: rmw_cyclonedds_cpp
/home/tan/ros2_humble/ros2/src/ros2/rmw_cyclonedds/rmw_cyclonedds_cpp/src/rmw_node.cpp:85:10: fatal error: dds/ddsc/dds_data_allocator.h: No such file or directory
85 | #include "dds/ddsc/dds_data_allocator.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/rmw_cyclonedds_cpp.dir/build.make:76: CMakeFiles/rmw_cyclonedds_cpp.dir/src/rmw_node.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/tan/ros2_humble/ros2/src/ros2/rmw_cyclonedds/rmw_cyclonedds_cpp/src/serdata.cpp:27:10: fatal error: dds/ddsi/q_radmin.h: No such file or directory
27 | #include "dds/ddsi/q_radmin.h"
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/rmw_cyclonedds_cpp.dir/build.make:89: CMakeFiles/rmw_cyclonedds_cpp.dir/src/serdata.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/rmw_cyclonedds_cpp.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Additional information
The text was updated successfully, but these errors were encountered: