I am using ROS indigo with Ubunty Trusty 14.04. I am following the ROS industrial tutorials and currently at http://aeswiki.datasys.swri.edu/rositraining/indigo/Exercises/1.2. This is not the first time that I am facing this problem. Whenever I try to build my workspace after cloning any repository in the src sub-directory of my work space, I get errors. I had just cloned robotiq repository from http://github.com/ros-industrial and tried to build my workspace by typing catkin_make in the workspace but I got the following on terminal.
Base path: /home/hashir/industrial_training/training/work/1.2/catkin_ws
Source space: /home/hashir/industrial_training/training/work/1.2/catkin_ws/src
Build space: /home/hashir/industrial_training/training/work/1.2/catkin_ws/build
Devel space: /home/hashir/industrial_training/training/work/1.2/catkin_ws/devel
Install space: /home/hashir/industrial_training/training/work/1.2/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/hashir/industrial_training/training/work/1.2/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/hashir/industrial_training/training/work/1.2/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/hashir/industrial_training/training/work/1.2/catkin_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/hashir/industrial_training/training/work/1.2/catkin_ws/devel;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/hashir/industrial_training/training/work/1.2/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.18
-- BUILD_SHARED_LIBS is on
WARNING: Package "ompl" does not follow the version conventions. It should not contain leading zeros (unless the number is 0).
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 11 packages in topological order:
-- ~~ - robotiq (metapackage)
-- ~~ - robotiq_c2_model_visualization
-- ~~ - robotiq_ethercat
-- ~~ - robotiq_c_model_control
-- ~~ - robotiq_force_torque_sensor
-- ~~ - robotiq_modbus_rtu
-- ~~ - robotiq_modbus_tcp
-- ~~ - robotiq_s_model_control
-- ~~ - robotiq_joint_state_publisher
-- ~~ - robotiq_action_server
-- ~~ - robotiq_s_model_visualization
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'robotiq'
-- ==> add_subdirectory(robotiq/robotiq)
-- +++ processing catkin package: 'robotiq_c2_model_visualization'
-- ==> add_subdirectory(robotiq/robotiq_c2_model_visualization)
-- +++ processing catkin package: 'robotiq_ethercat'
-- ==> add_subdirectory(robotiq/robotiq_ethercat)
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.
Call Stack (most recent call first):
robotiq/robotiq_ethercat/CMakeLists.txt:4 (find_package)
-- 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/indigo/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 incomplete, errors occurred!
See also "/home/hashir/industrial_training/training/work/1.2/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/hashir/industrial_training/training/work/1.2/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
Please help me if anybody knows something about it.
Originally posted by Hashir Shafi on ROS Answers with karma: 13 on 2016-06-18
Post score: 1