ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

package 'yaml-cpp' not found

asked 2015-10-13 11:13:40 -0600

yinkwongc gravatar image

updated 2015-10-13 13:04:21 -0600

gvdhoorn gravatar image

I am doing this exercise from below link

After compile it, the command is below:

src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -DCATKIN_ENABLE_TESTING=OFF -DCMAKE_INSTALL_PREFIX=~/my_workspace/ros_toolchain_install -j4

There are some error:

-- Found gtest: gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.15
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   filesystem
-- checking for module 'yaml-cpp'
--   package 'yaml-cpp' not found
CMake Error at CMakeLists.txt:28 (if):
  if given arguments:


  Unknown arguments specified

-- Configuring incomplete, errors occurred!
<== Failed to process package 'camera_calibration_parsers': 
  Command '['/home/nao/nao_ros_ws/install_isolated/', 'cmake', '/home/nao/nao_ros_ws/src/image_common/camera_calibration_parsers', '-DCATKIN_DEVEL_PREFIX=/home/nao/nao_ros_ws/devel_isolated/camera_calibration_parsers', '-DCMAKE_INSTALL_PREFIX=/home/nao/nao_ros_ws/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /home/nao/nao_ros_ws/build_isolated/camera_calibration_parsers && /home/nao/nao_ros_ws/install_isolated/ cmake /home/nao/nao_ros_ws/src/image_common/camera_calibration_parsers -DCATKIN_DEVEL_PREFIX=/home/nao/nao_ros_ws/devel_isolated/camera_calibration_parsers -DCMAKE_INSTALL_PREFIX=/home/nao/nao_ros_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles'

Command failed, exiting.

I have already install yaml-cpp.

I have tried version 0.2.6 and 0.5.1 downloaded from below

However, the errors are still happened. Can anyone help me to fix it? Thank You very much.

edit retag flag offensive close merge delete


Cross-post from here?

gvdhoorn gravatar image gvdhoorn  ( 2015-10-13 13:05:22 -0600 )edit

yes. It is..

yinkwongc gravatar image yinkwongc  ( 2015-10-13 21:22:20 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-19 16:41:12 -0600

Girts L gravatar image

I was getting "package 'yaml-cpp' not found" when building something else. I solved it by

sudo apt-get install libyaml-cpp-dev
edit flag offensive delete link more


#q60037 has CMakeLists.txt instructions

lucasw gravatar image lucasw  ( 2017-11-02 12:29:32 -0600 )edit

Question Tools

1 follower


Asked: 2015-10-13 11:13:40 -0600

Seen: 9,772 times

Last updated: Mar 19 '16