본문 바로가기

리눅스/문제해결

Could not find a package configuration file provided by "nodelet"

CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):

  Could not find a package configuration file provided by "nodelet" with any

  of the following names:


    nodeletConfig.cmake

    nodelet-config.cmake


  Add the installation prefix of "nodelet" to CMAKE_PREFIX_PATH or set

  "nodelet_DIR" to a directory containing one of the above files.  If

  "nodelet" provides a separate development package or SDK, be sure it has

  been installed.

Call Stack (most recent call first):

  realsense/realsense_camera/CMakeLists.txt:39 (find_package)



-- Could not find the required component 'nodelet'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.

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

  Could not find a package configuration file provided by "nodelet" with any

  of the following names:


    nodeletConfig.cmake

    nodelet-config.cmake


  Add the installation prefix of "nodelet" to CMAKE_PREFIX_PATH or set

  "nodelet_DIR" to a directory containing one of the above files.  If

  "nodelet" provides a separate development package or SDK, be sure it has

  been installed.

Call Stack (most recent call first):

  realsense/realsense_camera/CMakeLists.txt:39 (find_package)



-- Configuring incomplete, errors occurred!

See also "/media/chandong83/my_work/work/ros/catkin_ws/build/CMakeFiles/CMakeOutput.log".

See also "/media/chandong83/my_work/work/ros/catkin_ws/build/CMakeFiles/CMakeError.log".

Invoking "cmake" failed




ROS 에서 realsense 라이브러리 빌드시 발생하는 에러



해결 방법

 ros-[ros 버전]-nodelet 을 설치해주면 된다.


#kinetic 경우

$ sudo apt-get install ros-kinetic-nodelet