ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

catkin_make error

asked 2013-09-12 05:52:51 -0500

RB gravatar image

updated 2013-09-12 06:06:41 -0500

Hello I am trying to build a package 'gruvy_usarsim_inf' by using catkin workspace. I have set the dependencies also; but when I type in the terminal "catkin_make" following error comes.

root@ubuntu:~/catkin_ws# catkin_make

Base path: /root/catkin_ws

Source space: /root/catkin_ws/src

Build space: /root/catkin_ws/build

Devel space: /root/catkin_ws/devel

Install space: /root/catkin_ws/install

####

Running command: "make cmake_check_build_system" in "/root/catkin_ws/build"

#### -- Using CATKIN_DEVEL_PREFIX: /root/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/groovy -- This workspace overlays: /opt/ros/groovy -- Using Debian Python package layout -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /root/catkin_ws/build/test_results -- Found gtest: gtests will be built -- catkin 0.5.71 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 1 packages in topological order: -- ~~ - gruvy_usarsim_inf -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'gruvy_usarsim_inf' -- ==> add_subdirectory(gruvy_usarsim_inf) CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package): Could not find a configuration file for package control_msgs.

Set control_msgs_DIR to the directory containing a CMake configuration file for control_msgs. The file will have one of the following names:

control_msgsConfig.cmake
control_msgs-config.cmake

Call Stack (most recent call first): gruvy_usarsim_inf/CMakeLists.txt:7 (find_package)

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package): Could not find a configuration file for package nav_msgs.

Set nav_msgs_DIR to the directory containing a CMake configuration file for nav_msgs. The file will have one of the following names:

nav_msgsConfig.cmake
nav_msgs-config.cmake

Call Stack (most recent call first): gruvy_usarsim_inf/CMakeLists.txt:7 (find_package)

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package): Could not find a configuration file for package sensor_msgs.

Set sensor_msgs_DIR to the directory containing a CMake configuration file for sensor_msgs. The file will have one of the following names:

sensor_msgsConfig.cmake
sensor_msgs-config.cmake

Call Stack (most recent call first): gruvy_usarsim_inf/CMakeLists.txt:7 (find_package)

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package): Could not find a configuration file for package tf.

Set tf_DIR to the directory containing a CMake configuration file for tf. The file will have one of the following names:

tfConfig.cmake
tf-config.cmake

Call Stack (most recent call first): gruvy_usarsim_inf/CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred! make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-08-10 12:00:00 -0500

spottybadrabbit gravatar image

updated 2016-08-10 12:00:23 -0500

You have to install that dependency depending on what version you have. If you have Indigo and below you can do it through apt-get. If you're running jade or higher then you have to build from source.

Here are some command to try :

sudo rosdep init rosdep update sudo rosdep install --from-paths src --ignore-src --rosdistro jade -y

edit flag offensive delete link more

Comments

This worked for me (+1).

Just one correction: it's not a single command, it should be split into three:

sudo rosdep init
rosdep update
sudo rosdep install --from-paths src --ignore-src --rosdistro jade -y
MTDzi gravatar image MTDzi  ( 2018-06-13 03:25:46 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2013-09-12 05:52:51 -0500

Seen: 2,499 times

Last updated: Aug 10 '16