Ros-Indigo 在catkin_make出现报错 (无法找到程序包的配置文件)

在Ubuntu 14.04上使用catkin_make构建Ros-Industrial/robotiq驱动时遇到找不到soem配置文件的错误。通过运行`sudo apt-get install ros-indigo-soem-master`安装缺失包,然后重新运行catkin_make,问题得以解决。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

我在跟随教程从源代码下载和构建Ros-Industrial/robotiq驱动程序的时候,返回工作空间根目录(catkin_ws)使用catkin_make编译工作空间的时候遇到了困难。

CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (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.

-- ==> add_subdirectory(robotiq/robotiq_c_model_control)
CMake Error at /home/test/catkin_ws/devel/share/robotiq_ethercat/cmake/robotiq_ethercatConfig.cmake:165 (find_package):
  By not providing "Findsoem.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "s

ncut@ubuntu:~$ sudo apt-get install ros-kinetic-usb-cam [sudo] password for ncut: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ros-kinetic-usb-cam ncut@ubuntu:~$ cd catkin_ws/src ncut@ubuntu:~/catkin_ws/src$ git clone http://github.com/bosch-ros-pkg/usb_cam.git Cloning into 'usb_cam'... warning: redirecting to https://github.com/bosch-ros-pkg/usb_cam.git/ remote: Enumerating objects: 3476, done. remote: Counting objects: 100% (776/776), done. remote: Compressing objects: 100% (281/281), done. remote: Total 3476 (delta 576), reused 520 (delta 495), pack-reused 2700 (from 4) Receiving objects: 100% (3476/3476), 1.92 MiB | 458.00 KiB/s, done. Resolving deltas: 100% (1625/1625), done. ncut@ubuntu:~/catkin_ws/src$ cd ~/catkin_ws ncut@ubuntu:~/catkin_ws$ catkin_make Base path: /home/ncut/catkin_ws Source space: /home/ncut/catkin_ws/src Build space: /home/ncut/catkin_ws/build Devel space: /home/ncut/catkin_ws/devel Install space: /home/ncut/catkin_ws/install #### #### Running command: "cmake /home/ncut/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/ncut/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ncut/catkin_ws/install -G Unix Makefiles" in "/home/ncut/catkin_ws/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/ncut/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/ncut/catkin_ws/devel;/home/ncut/robot_ws/devel;/opt/ros/melodic -- This workspace overlays: /home/ncut/catkin_ws/devel;/home/ncut/robot_ws/devel;/opt/ros/melodic -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2") -- Using PYTHON_EXECUTABLE: /usr/bin/python2 -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/ncut/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/googletest': gtests will be built -- Found gmock sources under '/usr/src/googletest': gmock will
03-30
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值