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
Unable to build the moveit2 with ROS Distro-rolling #2516
Comments
Did you try running vcstool and rosdep before building? |
I assume you are referring to the two commands that were mentioned in the MoveIt2 source installation. for repo in moveit2/moveit2.repos $(f="moveit2/moveit2_$ROS_DISTRO.repos"; test -r $f && echo $f); do vcs import < "$repo"; done The $ROS_DISTRO is confirmed to be rolling in my case. I have run them. The vcs import only brings in moveit_msgs and moveit_resources as defined in the moveit2.repos file. I reran them. Here is the output: Already on 'ros2' Already on 'ros2' |
You shouldn't have to clone all these packages, rosdep takes care of them.
One possible reason can be sourcing issues. Could you check if both your underlay and overlay workspace is properly sourced? |
- This should fix moveit#2516 - Several moveit2 packages already depend on rsl - PR moveit#2482 added a depend in moveit_core This is only broken when building all of moveit2 deps in one colcon workspace And not using rosdep because colcon uses the package.xml and rsl might not have been built Signed-off-by: Alex Moriarty <alex.moriarty@picknik.ai>
@bgouda1982 I believe you're right. although I didn't fully setup my environment to test it. PR #2532 should fix this
colcon uses package.xml information to create the build dependency tree and decide the order it builds things... so when you added And from your issue description the missing step was to add the depend in the package.xml if @Shobuj-Paul tries to reproduce but has rsl installed in a underlaying colcon workspace then the |
- This should fix #2516 - Several moveit2 packages already depend on rsl - PR #2482 added a depend in moveit_core This is only broken when building all of moveit2 deps in one colcon workspace And not using rosdep because colcon uses the package.xml and rsl might not have been built Signed-off-by: Alex Moriarty <alex.moriarty@picknik.ai>
Description
After following the instructions from https://moveit.ros.org/install-moveit2/source/, I attempted to build the moveit source but encountered build errors.
Your environment
Steps to reproduce
Expected behaviour
Build should pass
Actual behaviour
Build fails with errors
Backtrace or Console output
https://gist.github.com/bgouda1982/724b0ea63a3e8332ed82f51ad46b5d86
The text was updated successfully, but these errors were encountered: