We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. I have tried following the README guidelines to build the code, but after executing
$ colcon build --symlink-install --packages-select octomap_msgs octomap_server2
I get the following error:
fatal error: tf2_geometry_msgs/tf2_geometry_msgs.h: No such file or directory 50 | #include <tf2_geometry_msgs/tf2_geometry_msgs.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. fatal error: rclcpp_components/register_node_macro.hpp: No such file or directory 9 | #include <rclcpp_components/register_node_macro.hpp> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
I solved by adding below to CMakeLists.txt.
find_package(tf2_geometry_msgs REQUIRED)
and
ament_target_dependencies(octomap_server2 rclcpp PCL pcl_conversions sensor_msgs std_msgs nav_msgs visualization_msgs geometry_msgs std_srvs octomap octomap_msgs message_filters tf2_ros tf2_msgs tf2 tf2_geometry_msgs rclcpp_components )
The text was updated successfully, but these errors were encountered:
Issue fixed #17
Sorry, something went wrong.
No branches or pull requests
Hi.
I have tried following the README guidelines to build the code, but after executing
$ colcon build --symlink-install --packages-select octomap_msgs octomap_server2
I get the following error:
I solved by adding below to CMakeLists.txt.
find_package(tf2_geometry_msgs REQUIRED)
and
The text was updated successfully, but these errors were encountered: