美文网首页
[已解决]Could not find a package co

[已解决]Could not find a package co

作者: Janeshurmin | 来源:发表于2019-08-18 11:40 被阅读0次

问题描述

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-*

相关文章

网友评论

      本文标题:[已解决]Could not find a package co

      本文链接:https://www.haomeiwen.com/subject/nqrrsctx.html