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

Superflous CMake Calls to old ament #403

Open
Ryanf55 opened this issue Oct 21, 2023 · 0 comments
Open

Superflous CMake Calls to old ament #403

Ryanf55 opened this issue Oct 21, 2023 · 0 comments
Labels
ros2 Affects ROS 2
Milestone

Comments

@Ryanf55
Copy link
Collaborator

Ryanf55 commented Oct 21, 2023

Per the ament docs, there is usage of superflous CMake functions that are old-style cmake (raw variables rather than target-based properties).

https://docs.ros.org/en/humble/How-To-Guides/Ament-CMake-Documentation.html

Branch: humble

It causes issues like this if you forget to pass the include variables up through each application.

~/Dev/geo_ws$ colcon build --packages-select grid_map_geo
Starting >>> grid_map_geo
--- stderr: grid_map_geo                             
<command-line>: fatal error: grid_map_core/eigen_plugins/FunctorsPlugin.hpp: No such file or directory
compilation terminated.
gmake[2]: *** [CMakeFiles/grid_map_geo.dir/build.make:76: CMakeFiles/grid_map_geo.dir/src/grid_map_geo.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/grid_map_geo.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed   <<< grid_map_geo [0.18s, exited with code 2]

I can issue a fix for grid_map_core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ros2 Affects ROS 2
Projects
None yet
Development

No branches or pull requests

1 participant