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

Failing build nav2 + slam_toolbox #588

Closed
tommy-erko opened this issue Mar 24, 2023 · 5 comments
Closed

Failing build nav2 + slam_toolbox #588

tommy-erko opened this issue Mar 24, 2023 · 5 comments

Comments

@tommy-erko
Copy link

tommy-erko commented Mar 24, 2023

Required Info:

  • Operating System:
    • Ubuntu 22.04.2 LTS
  • Installation type:
    • source
  • ROS Version
    • ROS2 rolling
  • Version or commit hash:
    • navigation2: origin/main
    • slam_toolbox: origin/ros2

Steps to reproduce issue

colcon build in a workspace with nav2 and slam_toolbox packages

Expected behavior

successful build

Actual behavior

stderr: slam_toolbox
 CMake Error: Files to be generated by multiple different commands: "<path_to_ws>/build/slam_toolbox/ament_cmake_environment_hooks/library_path.dsv"
 CMake Generate step failed.  Build files cannot be regenerated correctly.
 Failed   <<< slam_toolbox [12.6s, exited with code 1]

Additional information

This setup worked before the latest (2023-03-17) ROS2 rolling synchronization.

@tommy-erko
Copy link
Author

the same happens if I first build nav2 alone (skip nav2_bringup dependency on slam_toolbox) and add and attempt to build slam_toolbox afterwards

@SteveMacenski
Copy link
Owner

SteveMacenski commented Mar 24, 2023

This is very odd. I'm not sure either. Let me call in backup CC @clalancette

@clalancette
Copy link

This is very odd. I'm not sure either. Let me call in backup CC @clalancette

This is likely due to ament/ament_cmake#416. There is more information in there, but you'll likely have to do something similar to moveit/moveit2#1889

@SteveMacenski
Copy link
Owner

Thank you for the note Chris, I'll fix this shortly. That would have taken me much, much longer to try to correlate

@SteveMacenski
Copy link
Owner

@tommy-erko thanks for the report! I've fixed it in #589

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

3 participants