-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[ros2] colcon failed to build ros2 wrapper #2531
Comments
Hi! |
I will highlight your case to the RealSense ROS team. Thanks very much for your patience. The address /home/ubuntu/docker-home/robot_ws refers to Docker. Can you confirm whether you are using Docker, please? |
Yes, I forgot to mention that. It is inside a docker image. Should I give additional details about that? |
Yes please, additional details about your docker image are welcome in case it is a factor in your problem. |
i use dorowu/ubuntu-desktop-lxde-vnc:focal as a base image https://hub.docker.com/r/dorowu/ubuntu-desktop-lxde-vnc I cloned the UR ros2 repo locally, copy to the docker environment and build there with colcon.
|
Does it make any difference if you simply use colcon build instead of adding the Release arg, since the official instructions only specify https://github.com/IntelRealSense/realsense-ros#step-5-build Also, have the rosdep dependencies in Step 4 been installed? https://github.com/IntelRealSense/realsense-ros#step-4-install-dependencies |
Hey @Martzi , |
Yes, Step 4 also done
Thanks for the question, I am using Cmake 3.8 so definitely above 3.24. I will check it on later if it is the issue and reply! |
Hi @Martzi Do you have an update about this case that you can provide, please? Thanks! |
Hi, sorry for the late reply. Finally I have time to test it out and yes, it was really the cmake version mismatch, it really does not prefer above 3.24.0. |
You are very welcome, @Martzi - it's excellent news that the problem is resolved. Thanks very much for the update! |
System: ubuntu focal, x64
ROS: ros2 galaxy
SDK: librealsense2=2.51.1-0~realsense0.7526
My problem is that I tried to compile ros2 wrapper with colcon, but I get the following error. I tried with all the different branches for ros2 (ros2-development, ros2-legacy, old/ros2-511) both fail at the same place.
The text was updated successfully, but these errors were encountered: