Invoking “make cmake_check_build_system“ failed

下载usb_cam过程中,catkin_make时报错,

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

    camera_info_managerConfig.cmake
    camera_info_manager-config.cmake

如图

Invoking “make cmake_check_build_system“ failed_第1张图片

错误原因是没有安装相应的功能包

sudo apt-get install ros-melodic-camera-info-manager

sudo apt-get install ros-版本号-XXXXX

XXXXX为上图最后两行去掉config.cmake。

你可能感兴趣的:(ROS,ubuntu)