error message
When compiling, the following error message appears:
CMake Error at /opt/ros/noetic/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):
mutifingerhand_moveit_demo/CMakeLists.txt:4 (find_package)
Error reason
The corresponding package is missing.
Solution
Run the terminal and install the missing packages.
sudo apt-get install ros-noetic-moveit-visual-tools
After the installation is successful, recompile catkin_make to compile successfully.