[已解决]Could not find a package co

2019-08-18  本文已影响0人  Janeshurmin

问题描述

Could not find the required component 'tf'. 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 "tf" with any of
  the following names:
 
    tfConfig.cmake
    tf-config.cmake
 
  Add the installation prefix of "tf" to CMAKE_PREFIX_PATH or set "tf_DIR" to
  a directory containing one of the above files.  If "tf" provides a separate

解决方案

sudo apt-get install ros-indigo-tf2-*

或者,一次性安装所有相关模块

sudo apt-get install ros-indigo-*
上一篇 下一篇

猜你喜欢

热点阅读