-- +++ processing catkin package: 'robotiq_ethercat'
-- ==> add_subdirectory(robotiq/robotiq_ethercat)
-- Could NOT find soem (missing: soem_DIR)
-- Could not find the required component 'soem'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "soem" with any of
the following names:
soemConfig.cmake
soem-config.cmake
Add the installation prefix of "soem" to CMAKE_PREFIX_PATH or set
"soem_DIR" to a directory containing one of the above files. If "soem"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
robotiq/robotiq_ethercat/CMakeLists.txt:4 (find_package)
-- Configuring
ROS改错:robotiq驱动程序缺soem
在尝试构建robotiq夹爪的catkin包时,遇到了一个错误,即CMake无法找到soem组件。错误提示表明缺少soem_DIR。为了解决这个问题,可以通过在Ubuntu系统中使用sudo apt-get install命令安装ros-ROS版本-soem和ros-melodic-soem来修复。执行这些命令后,应该能够成功解决依赖问题并继续构建过程。
摘要由CSDN通过智能技术生成