As of ROS Electric, the Yamlcpp package has been replaced with a system dependency. Old documentation
Starting in ROS Electric, Yamlcpp is installed as a rosdep system dependency. This means that you compile against Yamlcpp without requiring any ROS-specific build tools.
Contents
ROS Electric: using the system install
CMakeLists.txt
You need to explicitly link against against the yaml-cpp library:
target_link_libraries(${PROJECT_NAME} yaml-cpp)
Package/stack dependencies
If you have previously used yaml_cpp with ROS, make sure you remove <depend package="yaml_cpp" /> from your manifest.
The yaml-cpp rosdep is defined in the ROS common_rosdeps stack/package. In order to get this rule, you need to edit your manifest.xml and stack.xml as follows:
manifest.xml
<depend package="common_rosdeps" /> <rosdep name="yaml-cpp" />
stack.xml
<depend stack="common_rosdeps" />
External Documentation
Please see the yaml-cpp homepage for documentation.






