在编译D435i相机ROS包时出现错误:
-- Could not find the required component 'ddynamic_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 "ddynamic_reconfigure" with any of the following names: ddynamic_reconfigureConfig.cmake ddynamic_reconfigure-config.cmake Add the installation prefix of "ddynamic_reconfigure" to CMAKE_PREFIX_PATH or set "ddynamic_reconfigure_DIR" to a directory containing one of the above files. If "ddynamic_reconfigure" provides a separate development package or SDK, be sure it has been installed.如下图: 解决:
sudo apt-get install ros-kinetic-ddynamic-reconfigure此指令中的kinetic对应的是Ubuntu 16.04版本下的ROS的解决方法;如果你的不是16.04,则把kinetic换成你Ubuntu对应的ROS版本。
