본문 바로가기

리눅스/문제해결

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




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

  Could not find a package configuration file provided by

  "dynamic_reconfigure" with any of the following names:


    dynamic_reconfigureConfig.cmake

    dynamic_reconfigure-config.cmake


  Add the installation prefix of "dynamic_reconfigure" to CMAKE_PREFIX_PATH

  or set "dynamic_reconfigure_DIR" to a directory containing one of the above

  files.  If "dynamic_reconfigure" 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 'dynamic_reconfigure'. 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

  "dynamic_reconfigure" with any of the following names:


    dynamic_reconfigureConfig.cmake

    dynamic_reconfigure-config.cmake


  Add the installation prefix of "dynamic_reconfigure" to CMAKE_PREFIX_PATH

  or set "dynamic_reconfigure_DIR" to a directory containing one of the above

  files.  If "dynamic_reconfigure" 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



해결 방법

$ sudo apt install ros-kinetic-dynamic-reconfigure