Could NOT find dynamic_reconfigure during sick_scan install

asked 2019-10-15 06:00:02 -0600

rospiuser17 gravatar image

Hey guys, Iḿ having a bit trouble installing the sick_scan package on my Raspberry Pi 4. Iḿ working with ROS Kinetic on a Raspberry Pi 4 with Raspbian Buster. After cloning the Repository from GIT I want to execute the

catkin_make install

command. But during this I get the following Error Message

-- ==> add_subdirectory(sick_scan) -- Could NOT find dynamic_reconfigure (missing: dynamic_reconfigure_DIR) -- 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 /home/pi/ros_catkin_ws/devel/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):
sick_scan/CMakeLists.txt:51 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/pi/ros_catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/pi/ros_catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

As I am pretty new to working with ROS and those topics related to it I wonder what I have to do to fix this issue. Does anybody know this problem and could help me?

Greetings, Julian

edit retag flag offensive close merge delete

Comments

Please see whether the workflow described in #q252478 solves this.

In general: you cannot just clone a repository and start building your workspace. At the very least you'll have to make sure you've installed all dependencies. #q252478 shows the convential workflow that addresses all aspects.

gvdhoorn gravatar imagegvdhoorn ( 2019-10-15 07:50:58 -0600 )edit

Thanks for your advise. I will try it this afternoon and report if it works out!

rospiuser17 gravatar imagerospiuser17 ( 2019-10-21 04:26:33 -0600 )edit