CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"socketcan_interface" with any of the following names:
socketcan_interfaceConfig.cmake
socketcan_interface-config.cmake
Add the installation prefix of "socketcan_interface" to CMAKE_PREFIX_PATH
or set "socketcan_interface_DIR" to a directory containing one of the above
files. If "socketcan_interface" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
robotiq/robotiq_3f_gripper_control/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/ghh/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ghh/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:2476: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
缺socketcan_interface
解决:注意_改成-
sudo apt-get install ros-melodic-socketcan-interface
在尝试配置ROS Melodic工作空间时遇到了CMake错误,提示找不到socketcan_interface的package配置文件。解决方案是通过运行`sudo apt-get install ros-melodic-socketcan-interface`来安装缺失的socketcan_interface包。
7091

被折叠的 条评论
为什么被折叠?



