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

我在跟随教程从源代码下载和构建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 "soem", but CMake did not find one.

  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.

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

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

      $ sudo apt-get install ros-indigo-soem-master 
Ros-Indigo 在catkin_make出现报错 (无法找到程序包的配置文件)

安装完后,重新catkin_make。成功~

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

版权声明:本文为博主原创文章,如需转载,请附上文章原文地址。https://blog.****.net/weixin_42661884/article/details/81118724