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

ros-by-example vol2. catkin_make rbx2 error [closed]

asked 2016-11-03 04:25:21 -0500

shawnysh gravatar image

updated 2016-11-03 05:15:40 -0500

mgruhler gravatar image

I am installing the ros-by-example vol2 code2, and have a build problem with rbx2.

Below is command line:

cd ~/catkin_ws/src

git clone https://github.com/pirobot/rbx1.git

cd rbx1

git checkout indigo-devel

cd ~/catkin_ws

catkin_make

Below is the error message:

CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "shape_msgs" with
  any of the following names:

    shape_msgsConfig.cmake
    shape_msgs-config.cmake

  Add the installation prefix of "shape_msgs" to CMAKE_PREFIX_PATH or set
  "shape_msgs_DIR" to a directory containing one of the above files.  If
  "shape_msgs" provides a separate development package or SDK, be sure it has
  been installed.
    Call Stack (most recent call first):
      rbx2/rbx2_arm_nav/CMakeLists.txt:5 (find_package)


-- Could not find the required component 'shape_msgs'. 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 "shape_msgs" with
  any of the following names:

    shape_msgsConfig.cmake
    shape_msgs-config.cmake

  Add the installation prefix of "shape_msgs" to CMAKE_PREFIX_PATH or set
  "shape_msgs_DIR" to a directory containing one of the above files.  If
  "shape_msgs" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  rbx2/rbx2_arm_nav/CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
See also "/root/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/root/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by shawnysh
close date 2016-11-09 21:57:12.637992

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-11-03 05:16:56 -0500

mgruhler gravatar image

Please use the preformatted text button, the next time (the one with 1s and 0s for code).

You are missing a dependency, namely shape_msgs

Install with sudo apt-get install ros-indigo-shape-msgs and recompile

edit flag offensive delete link more

Comments

Thanks, it helps

shawnysh gravatar image shawnysh  ( 2016-11-09 21:56:55 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-11-03 04:25:21 -0500

Seen: 462 times

Last updated: Nov 03 '16