I\'m trying to use the new version of libyaml-cpp and having linker problems (undefined reference to \'YAML::LoadFile(std::basic_string
undefined reference to \'YAML::LoadFile(std::basic_string
Support new yaml-cpp API.
find_package(PkgConfig) pkg_check_modules(YAMLCPP REQUIRED yaml-cpp>=0.5) include_directories(${YAMLCPP_INCLUDE_DIRS}) add_executable(name src/name.cpp) target_link_libraries(name ${catkin_LIBRARIES} ${YAMLCPP_LIBRARIES})