Robotics StackExchange | Archived questions

I s there something in c++ settings, compiler, linker setting thst i need to add to get rclcpp to work

I am just leaning ros2 humble and going through the tutorials and trying to run publishermemberfunction.cpp and I get fatal error: rclcpp/rclcpp.hpp: no such file or directory

Asked by daw on 2023-01-11 15:48:51 UTC

Comments

Answers

You haven't provided much to go but: Most common mistake that create these types of issues is not sourcing the bash file in a new terminal or after running colcon(. install/setup.bash), even though the tutorials mention that about every 3rd line. After that you need to make sure that rclcpp is listed into package and cmake files.

Asked by billy on 2023-01-14 14:54:10 UTC

Comments