C/C++教程

ubuntu16.04中ROS-Kinetic报错: not find a package configuration file provided by “gazebo_ros_control“

本文主要是介绍ubuntu16.04中ROS-Kinetic报错: not find a package configuration file provided by “gazebo_ros_control“,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

报错如下:

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by
  "gazebo_ros_control" with any of the following names:

    gazebo_ros_controlConfig.cmake
    gazebo_ros_control-config.cmake

  Add the installation prefix of "gazebo_ros_control" to CMAKE_PREFIX_PATH or
  set "gazebo_ros_control_DIR" to a directory containing one of the above
  files.  If "gazebo_ros_control" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  mbot_gazebo/CMakeLists.txt:10 (find_package)

1.安装解决:

sudo apt-get install -y libgazebo7-dev

具体的gazebo安装教程如下链接:

GitHub - ros-simulation/gazebo_ros_pkgs: Wrappers, tools and additional API's for using ROS with Gazebo

Gazebo : Tutorial : Installing gazebo_ros_pkgs (ROS 1)

 

这篇关于ubuntu16.04中ROS-Kinetic报错: not find a package configuration file provided by “gazebo_ros_control“的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!