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.

 解决办法:

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

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

猜你喜欢

转载自blog.csdn.net/qq_49959714/article/details/129143872