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

Fix build error (ROS2 Foxy) #38

Open
wants to merge 1 commit into
base: ros2
Choose a base branch
from

Conversation

CruxDevStuff
Copy link

@CruxDevStuff CruxDevStuff commented May 2, 2023

colcon build fails with error

In file included from /home/repos/ld_ws/rf2o_laser_odometry/src/CLaserOdometry2DNode.cpp:18:
/home/repos/ld_ws/rf2o_laser_odometry/include/rf2o_laser_odometry/CLaserOdometry2DNode.hpp:9:10: fatal error: tf2_geometry_msgs/tf2_geometry_msgs.hpp: No such file or directory
    9 | #include <tf2_geometry_msgs/tf2_geometry_msgs.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Fix
update header extension
<tf2_geometry_msgs/tf2_geometry_msgs.hpp> to "tf2_geometry_msgs/tf2_geometry_msgs.h"

I'm not sure if this happens for everyone(?)

@brendoncintas
Copy link

It happens for everyone. #37 - my pull request, addresses the same problem.

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

Successfully merging this pull request may close these issues.

2 participants