添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
安静的饺子  ·  在 Visual Studio Code ...·  3 月前    · 
腼腆的围巾  ·  在MATLAB ...·  3 月前    · 
慷慨大方的泡面  ·  PS ...·  4 月前    · 
冷静的豌豆  ·  Instructions for ...·  4 月前    · 
Service Status ros @ Robotics Stack Exchange

package 'yaml-cpp' not found

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

yinkwongc gravatar image

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

gvdhoorn gravatar image

I am doing this exercise from below link

http://wiki.ros.org/nao/Tutorials/Ins...

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:
    "VERSION_GREATER" "0.5"
  Unknown arguments specified
-- Configuring incomplete, errors occurred!
<== Failed to process package 'camera_calibration_parsers': 
  Command '['/home/nao/nao_ros_ws/install_isolated/env.sh', '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/env.sh 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

https://code.google.com/p/yaml-cpp/do...

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

edit retag flag offensive close merge delete

Comments

8

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

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

Comments