Could not find the required component 'rail_manipulation_msgs'.或者'controller_manager'

catkin_make时候出现下列错误:

-- Could not find the required component 'rail_manipulation_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "rail_manipulation_msgs" with any of the following names:

    rail_manipulation_msgsConfig.cmake
    rail_manipulation_msgs-config.cmake

  Add the installation prefix of "rail_manipulation_msgs" to
  CMAKE_PREFIX_PATH or set "rail_manipulation_msgs_DIR" to a directory
  containing one of the above files.  If "rail_manipulation_msgs" provides a
  separate development package or SDK, be sure it has been installed.

 

看错误提示,少了rail_manipulation_msgs这个组件,执行指令:

 

sudo apt-get install ros-indigo-rail-manipulation-msgs

再次catkin_make

这个错误没有了。

但是,

新的,类似的错误出现了:

-- Could not find the required component 'controller_manager'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "controller_manager" with any of the following names:

    controller_managerConfig.cmake
    controller_manager-config.cmake

  Add the installation prefix of "controller_manager" to CMAKE_PREFIX_PATH or
  set "controller_manager_DIR" to a directory containing one of the above
  files.  If "controller_manager" provides a separate development package or
  SDK, be sure it has been installed.

这次是少了controller_manager组件

同样的思路,安装缺失的组件

输入:

sudo apt-get install ros-indigo-controller-manager

问题解决。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值