Robotics StackExchange | Archived questions

cannot build moveit

Hello,

I created a workspace/src containing both the packages moveittutorials and pandamoveitconfig, as explained here http://docs.ros.org/kinetic/api/moveittutorials/html/doc/gettingstarted/gettingstarted.html ...

However when I catkin build I get this error:

CMake Error at /opt/ros/kinetic/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):
CMakeLists.txt:13 (find_package)

How to resolve it please? regards

Asked by fer on 2018-09-28 10:41:35 UTC

Comments

It may be obvious to you, but can you please tell us why you want to build MoveIt from sources on Kinetic? There are binary pkgs available that make all of this a non-issue.

Asked by gvdhoorn on 2018-09-28 16:20:02 UTC

Hi! @fer Did you solve it? I have met the same error when I built moveit from source.

Asked by JohnDoe on 2023-07-16 21:05:14 UTC

Answers

Hello,

It is stated that you don't have the package moveit_visual_tools installed. You can install it via:

sudo apt-get install ros-$ROS_DISTRO-moveit-visual-tools

You can find more info about the package in Github repository.

Also, make sure you install all workspace dependencies before build:

rosdep install --from-paths src --ignore-src -r -y

Asked by Bruno Lima on 2018-09-30 17:44:32 UTC

Comments