새소식

Dev record/ROS

CMake Error Could not find a package configuration file provided by "moveit_ros_perception" with any of the following names: moveit_ros_perceptionConfig.cmake moveit_ros_perception-config.cmake

  • -
반응형

오류 코드

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

    moveit_ros_perceptionConfig.cmake
    moveit_ros_perception-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/eddy/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/eddy/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1846: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

 

ROS 상에 moveit ros perception 설치되어 있지 않아서 발생. 해당 패키지를 다음과 같이 설치한다.

 

sudo apt-get install ros-melodic-moveit-ros-perception

 

반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.