Fix nav2_costmap_2d linkage #452
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Ticket
Relates to #450
Instructions
Logs
Starting >>> grid_map_costmap_2d --- stderr: grid_map_costmap_2d In file included from /opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp:20, from /opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/lifecycle_node.hpp:89, from /opt/ros/iron/include/nav2_costmap_2d/costmap_2d_publisher.hpp:46, from /opt/ros/iron/include/nav2_costmap_2d/costmap_2d_ros.hpp:48, from /home/ryan/Dev/ros2_ws/src/grid_map/grid_map_costmap_2d/test/test_costmap_2d_ros.hpp:23, from /home/ryan/Dev/ros2_ws/src/grid_map/grid_map_costmap_2d/test/test_costmap_2d_ros.cpp:17: /opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/state.hpp:21:10: fatal error: rcl_lifecycle/data_types.h: No such file or directory 21 | #include "rcl_lifecycle/data_types.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [test/CMakeFiles/costmap-2d-ros-test.dir/build.make:76: test/CMakeFiles/costmap-2d-ros-test.dir/test_costmap_2d_ros.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:230: test/CMakeFiles/costmap-2d-ros-test.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... In file included from /opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp:20, from /opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/lifecycle_node.hpp:89, from /opt/ros/iron/include/nav2_costmap_2d/costmap_2d_publisher.hpp:46, from /opt/ros/iron/include/nav2_costmap_2d/costmap_2d_ros.hpp:48, from /home/ryan/Dev/ros2_ws/src/grid_map/grid_map_costmap_2d/include/grid_map_costmap_2d/costmap_2d_converter.hpp:22, from /home/ryan/Dev/ros2_ws/src/grid_map/grid_map_costmap_2d/include/grid_map_costmap_2d/grid_map_costmap_2d.hpp:13, from /home/ryan/Dev/ros2_ws/src/grid_map/grid_map_costmap_2d/test/test_costmap_2d_converter.cpp:18: /opt/ros/iron/include/rclcpp_lifecycle/rclcpp_lifecycle/state.hpp:21:10: fatal error: rcl_lifecycle/data_types.h: No such file or directory 21 | #include "rcl_lifecycle/data_types.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [test/CMakeFiles/grid_map_costmap_2d-test.dir/build.make:90: test/CMakeFiles/grid_map_costmap_2d-test.dir/test_costmap_2d_converter.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:202: test/CMakeFiles/grid_map_costmap_2d-test.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2 --- Failed <<< grid_map_costmap_2d [0.36s, exited with code 2]