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

cMake Error and failed to invoke

asked 2015-11-25 04:20:54 -0500

Pato gravatar image

while i was doing rosmake i got errors. After running "rosmake roomba_500driver_meiji " i got errors below.

    mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/indigo/share/ros/core/rosbuild/rostoolchain.cmake  ..
  [rosbuild] Building package roomba_500driver_meiji
  Failed to invoke /opt/ros/indigo/bin/rospack deps-manifests roomba_500driver_meiji
  [rospack] Error: package 'roomba_500driver_meiji' depends on non-existent package 'geometry_msgs' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'


  CMake Error at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:129 (message):


    Failed to invoke rospack to get compile flags for package
    'roomba_500driver_meiji'.  Look above for errors from rospack itself.
    Aborting.  Please fix the broken dependency!

  Call Stack (most recent call first):
    /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:207 (rosbuild_invoke_rospack)
    CMakeLists.txt:12 (rosbuild_init)


  -- Configuring incomplete, errors occurred!
  See also "/home/pi/ros_catkin_ws/src/roomba_robot_meiji/roomba_500driver_meiji/build/CMakeFiles/CMakeOutput.log".
  /home/pi/ros_catkin_ws/src/ros/mk/cmake.mk:7: recipe for target 'all' failed

here is ROS_PACKAGE_PATH

/home/pi/ros_catkin_ws/src:/home/pi/ros_catkin_ws/src/ros_comm/rosbag:/opt/ros/indigo/share:/opt/ros/indigo/stacks

i also get this error by running rosdep keys geometry_msgs

    ERROR: Rosdep cannot find all required resources to answer your query
Missing resource geometry_msgs
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/pi/ros_catkin_ws/src
ROS path [2]=/home/pi/ros_catkin_ws/src/ros_comm/rosbag
ROS path [3]=/opt/ros/indigo/share
ROS path [4]=/opt/ros/indigo/stacks

i thought these errors were coused by lack of ROS path but im not sure. by the way the folder "geometry_msgs" is located at /home/pi/ros_catkin_ws/src/genmsg/test/files/geometry_msgs/msg

im using Raspberry pi, os is Jessie and i installed indigo.

edit retag flag offensive close merge delete

Comments

You use rosbuild in Indigo? Is that even supported any more? Why not catkin_make?

Chrissi gravatar image Chrissi  ( 2015-11-26 10:18:51 -0500 )edit

I'm not sure, but I understand rosmake is a tool for compiling a single package, not all the packages in the workspace as when using catkin_make, and it also works in ROS Indigo.

Fredylucas gravatar image Fredylucas  ( 2015-11-26 22:32:16 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-11-26 22:35:35 -0500

Fredylucas gravatar image

In the error message, it says geometry_msgs package is missing, are you sure you have this package? it says this missing package is necessary for compiling the roomba_500driver_meiji package.

edit flag offensive delete link more

Comments

Thank you for answereing. I'm sure that there is the roomba_500driver_meiji package. but I don't know what to do, so i will try to reinstall ROS.

Pato gravatar image Pato  ( 2015-12-04 03:19:55 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-11-25 04:20:54 -0500

Seen: 1,069 times

Last updated: Nov 26 '15