最近在学习ros中的moveit模块,在github上下载了moveit_tutorials包,但是编译的时候出错:
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"moveit_visual_tools" with any of the following names:
moveit_visual_toolsConfig.cmake
moveit_visual_tools-config.cmake
Add the installation prefix of "moveit_visual_tools" to CMAKE_PREFIX_PATH
or set "moveit_visual_tools_DIR" to a directory containing one of the above
files. If "moveit_visual_tools" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
moveit_tutorials/CMakeLists.txt:13 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ding/turtlebot_arm/build/CMakeFiles/CMakeOutput.log".
See also "/home/ding/turtlebot_arm/build/CMakeFiles/CMakeError.log".
最后,切换成indigo分支,问题得以解决,因为我的ros安装的是indigo版本。
git checkout indigo-devel