Skip to content

Conversation

msplr
Copy link

@msplr msplr commented Apr 30, 2025

This addresses #382 such that the Eigen plugin include paths are only defined for targets linking against grid_map_core.

I manually tested this in a dummy package with two executables, where only one is linking against grid_map_core.

@Ryanf55 Should this fix target rolling and/or jazzy?

@msplr msplr added bug ros2 Affects ROS 2 labels Apr 30, 2025
@msplr msplr requested a review from Ryanf55 April 30, 2025 18:53
@msplr msplr self-assigned this Apr 30, 2025
@@ -127,6 +130,4 @@ endif()

ament_export_targets(export_${PROJECT_NAME} HAS_LIBRARY_TARGET)
ament_export_dependencies(Eigen3)
ament_package(CONFIG_EXTRAS
cmake/${PROJECT_NAME}-extras.cmake
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cmake extras should not be needed, since the public target_compile_definitions will be propagated to all dependencies.

@Ryanf55
Copy link
Collaborator

Ryanf55 commented May 2, 2025

Thanks, looks good. Rolling is perfect.
I'll need to troubleshoot CI before we can merge this. If you have suggestions for getting that back up, it would be helpful because I'm slammed at work the next two weeks.

@Ryanf55
Copy link
Collaborator

Ryanf55 commented Jul 26, 2025

This seemed to introduce problems in the build. Help is needed. I don't have enough time to chase the new failures down.
Ryanf55#5

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

Successfully merging this pull request may close these issues.

2 participants