CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):

问题描述:ros工作空间下catkin_make时,遇到CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
geographic_msgsConfig.cmake
geographic_msgs-config.cmake

输入:

sudo apt-get install ros-kinetic(or melodic)-geographic-msgs

找到相应的 Config.cmake 之前的包名,安装完成即可,然后再次catkin_make即可编译通过(注意要根据自己的ros版本安装)。

你可能感兴趣的:(ros)