你缺少什么包,就安装什么包即可:sudo apt-get install ros-kinetic-***
-- Could not find the required component 'moveit_ros_planning_interface'. 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
"moveit_ros_planning_interface" with any of the following names:
moveit_ros_planning_interfaceConfig.cmake
moveit_ros_planning_interface-config.cmake
Add the installation prefix of "moveit_ros_planning_interface" to
CMAKE_PREFIX_PATH or set "moveit_ros_planning_interface_DIR" to a directory
containing one of the above files. If "moveit_ros_planning_interface"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
marm_planning/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ros/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ros/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1816: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
sudo apt-get install ros-kinetic-moveit-ros-planning-interface
-- Could not find the required component 'moveit_ros_perception'. 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
"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):
marm_planning/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ros/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ros/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1816: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
sudo apt-get install ros-kinetic-moveit-ros-perception
-- Could not find the required component 'moveit_msgs'. 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 "moveit_msgs" with
any of the following names:
moveit_msgsConfig.cmake
moveit_msgs-config.cmake
Add the installation prefix of "moveit_msgs" to CMAKE_PREFIX_PATH or set
"moveit_msgs_DIR" to a directory containing one of the above files. If
"moveit_msgs" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
marm_planning/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ros/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ros/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1816: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
sudo apt-get install ros-kinetic-moveit-msgs