Cmake Error while building moveit_tutorials package in catkin ws
I clone the package moveit_tutorials from github and now trying to build the catkin workspace using command catkin build. I'm using ROS Melodic But getting following error:
adminspin@adminspin:~/catkin_ws$ catkin build
---------------------------------------------------------------
Profile: default
Extending: [cached] /opt/ros/melodic
Workspace: /home/adminspin*/catkin_ws
---------------------------------------------------------------
Build Space: [exists] /home/adminspin*/catkin_ws/build
Devel Space: [exists] /home/adminspin*/catkin_ws/devel
Install Space: [unused] /home/adminspin*/catkin_ws/install
Log Space: [exists] /home/adminspin*/catkin_ws/logs
Source Space: [exists] /home/adminspin*/catkin_ws/src
DESTDIR: [unused] None
---------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
---------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
---------------------------------------------------------------
Buildlisted Packages: None
Skiplisted Packages: None
---------------------------------------------------------------
Workspace configuration appears valid.
---------------------------------------------------------------
[build] Found 3 packages in 0.0 seconds.
[build] Updating package table.
Starting >>> beginner_tutorials
Starting >>> panda_moveit_config
Finished <<< panda_moveit_config [ 0.1 seconds ]
Starting >>> moveit_tutorials
Finished <<< beginner_tutorials [ 0.1 seconds ]
_______________________________________________________________________________
Errors << moveit_tutorials:cmake /home/adminspin*/catkin_ws/logs/moveit_tutorials/build.cmake.000.log
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "rviz_visual_tools"
with any of the following names:
rviz_visual_toolsConfig.cmake
rviz_visual_tools-config.cmake
Add the installation prefix of "rviz_visual_tools" to CMAKE_PREFIX_PATH or
set "rviz_visual_tools_DIR" to a directory containing one of the above
files. If "rviz_visual_tools" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:7 (find_package)
cd /home/adminspin*/catkin_ws/build/moveit_tutorials; catkin build --get-env moveit_tutorials | catkin env -si /usr/bin/cmake '/home/adminspin*/catkin_ws/src/moveit_tutorials' --no-warn-unused-cli '-DCATKIN_DEVEL_PREFIX=/home/adminspin*/catkin_ws/devel/.private/moveit_tutorials' '-DCMAKE_INSTALL_PREFIX=/home/adminspin*/catkin_ws/install'; cd -
...............................................................................
Failed << moveit_tutorials:cmake [ Exited with code 1 ]
Failed <<< moveit_tutorials [ 2.3 seconds ]
[build] Summary: 2 of 3 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 2.5 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
In the future, please use the 101010 button to format your terminal output. It makes it much easier to read.