Could not find a package configuration file provided by “jsk_recognition_msgs“问题解决记录

问题:

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

    jsk_recognition_msgsConfig.cmake
    jsk_recognition_msgs-config.cmake

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

Could not find a package configuration file provided by “jsk_recognition_msgs“问题解决记录_第1张图片

 解决办法:

执行以下命令即可,如果是别的ros版本将melodic修改为对应的版本即可

sudo apt-get install ros-melodic-jsk-recognition-msgs

你可能感兴趣的:(ubuntu)