Open iyhabz opened 6 months ago
Hello,
You need to tell your CMake file where is the yaml-cpp library in order to successfully build the ROS robot_localization package.
The README of this repository give an explanation on how to include the yaml-cpp library to your C++ project here.
You can add this before the find_package()
of your CMake file (don't forget to speciffy the GIT_TAG
argument).
The dynmsg
package in dynamic_message_introspection
has an example of how to include yaml-cpp
in a ROS2 package. You might want to check that out.
Are you sure you are using the correct branch of robot_localization? Switching to humble-devel instead of ros2 worked for me in resolving this issue.
sudo apt-get install libyaml-cpp-dev
Hey i am trying to build the robot_localization pkg and keep having the error regarding the yaml-cpp pkg
Full Error message
has any one faced an issue like this?
thanks in advance