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

How to solve 'error: ‘geometric_shapes_msgs’ does not name a type' ?

asked 2012-08-28 01:49:17 -0600

sam gravatar image

I followed tabletop_object_perception.

I use ROS electric and run:

  svn co https://code.ros.org/svn/wg-ros-pkg/stacks/tabletop_object_perception/branches/0.4-branch/
  svn co https://code.ros.org/svn/wg-ros-pkg/stacks/motion_planning_common/trunk/geometric_shapes_msgs
  cd geometric_shapes_msgs/
  rosmake
  cd ..
  cd 0.4-branch/
  cd tabletop_object_detector/

When I rosmake,it shows:

  sam@/home/sam/code/ros/recognition/0.4-branch/tabletop_object_detector$ rosmake
  [ rosmake ] No package specified.  Building ['tabletop_object_detector']                 
  [ rosmake ] Packages requested are: ['tabletop_object_detector']                         
  [ rosmake ] Logging to directory/home/sam/.ros/rosmake/rosmake_output-20120828-193717    
  [ rosmake ] Expanded args ['tabletop_object_detector'] to:
  ['tabletop_object_detector']  
  [ rosmake ] Checking rosdeps compliance for packages tabletop_object_detector.  This may take a few seconds.
  [ rosmake ] rosdep check passed all system dependencies in packages                      
  [rosmake-0] Starting >>> rosbuild [ make ]                                               
  [rosmake-0] Finished <<< rosbuild ROS_NOBUILD in package rosbuild
   No Makefile in package rosbuild
  [rosmake-1] Starting >>> cpp_common [ make ]                                             
  [rosmake-1] Finished <<< cpp_common ROS_NOBUILD in package cpp_common                    
  [rosmake-2] Starting >>> roslib [ make ]                                                 
  [rosmake-2] Finished <<< roslib ROS_NOBUILD in package roslib                            
  [rosmake-3] Starting >>> bullet [ make ]                                                 
  [rosmake-1] Starting >>> roslang [ make ]                                                
  [rosmake-0] Starting >>> roscpp_traits [ make ]                                          
  [rosmake-2] Starting >>> rostime [ make ]                                                
  [rosmake-1] Finished <<< roslang ROS_NOBUILD in package roslang
   No Makefile in package roslang
  [rosmake-3] Finished <<< bullet ROS_NOBUILD in package bullet                            
  [rosmake-1] Starting >>> xmlrpcpp [ make ]                                               
  [rosmake-3] Starting >>> std_msgs [ make ]                                               
  [rosmake-2] Finished <<< rostime ROS_NOBUILD in package rostime                          
  [rosmake-0] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits              
  [rosmake-2] Starting >>> rosconsole [ make ]                                             
  [rosmake-0] Starting >>> roscpp_serialization [ make ]                                   
  [rosmake-1] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp                        
  [rosmake-3] Finished <<< std_msgs ROS_NOBUILD in package std_msgs                        
  [rosmake-3] Starting >>> rosgraph_msgs [ make ]                                          
  [rosmake-1] Starting >>> rosclean [ make ]                                               
  [rosmake-0] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization
  [rosmake-2] Finished <<< rosconsole ROS_NOBUILD in package rosconsole                    
  [rosmake-0] Starting >>> rosgraph [ make ]                                               
  [rosmake-2] Starting >>> rosparam [ make ]                                               
  [rosmake-1] Finished <<< rosclean ROS_NOBUILD in package rosclean                        
  [rosmake-1] Starting >>> rosmaster [ make ]                                              
  [rosmake-3] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs              
  [rosmake-1] Finished <<< rosmaster ROS_NOBUILD in package rosmaster                      
  [rosmake-1] Starting >>> roscpp [ make ]                                                 
  [rosmake-1] Finished <<< roscpp ROS_NOBUILD in package roscpp                            
  [rosmake-1] Starting >>> rospy [ make ]                                                  
  [rosmake-1] Finished <<< rospy ROS_NOBUILD in package rospy                              
  [rosmake-1] Starting >>> rosout [ make ]                                                 
  [rosmake-1] Finished <<< rosout ROS_NOBUILD in package rosout                            
  [rosmake-1] Starting >>> rosunit [ make ]                                                
  [rosmake-1] Finished <<< rosunit ROS_NOBUILD in package rosunit                          
  [rosmake-0] Finished <<< rosgraph ROS_NOBUILD in package rosgraph                        
  [rosmake-2] Finished <<< rosparam ROS_NOBUILD in package rosparam                        
  [rosmake-1] Starting >>> angles [ make ]                                                 
  [rosmake-1] Finished <<< angles ROS_NOBUILD in package angles                            
  [rosmake-0] Starting >>> roslaunch [ make ]                                              
  [rosmake-3] Starting >>> rosnode [ make ]                                                
  [rosmake-0] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
   No Makefile in package roslaunch
  [rosmake-3] Finished <<< rosnode ROS_NOBUILD in package rosnode                          
  [rosmake-2] Starting >>> eigen [ make ]                                                  
  [rosmake-2] Finished <<< eigen ROS_NOBUILD in package eigen                              
  [rosmake-1] Starting >>> cminpack [ make ]                                               
  [rosmake-0] Starting >>> rostest [ make ]                                                
  [rosmake-1] Finished <<< cminpack ROS_NOBUILD in package cminpack                        
  [rosmake-0] Finished <<< rostest ROS_NOBUILD in package rostest                          
  [rosmake-2] Starting >>> flann [ make ]                                                  
  [rosmake-2] Finished <<< flann ROS_NOBUILD in package flann                              
  [rosmake-3] Starting >>> pluginlib [ make ]                                              
  [rosmake-1] Starting >>> topic_tools [ make ]                                            
  [rosmake-0] Starting >>> message_filters [ make ]                                        
  [rosmake-0] Finished <<< message_filters ROS_NOBUILD in package message_filters          
  [rosmake-3] Finished <<< pluginlib ROS_NOBUILD in package pluginlib                      
  [rosmake-1] Finished <<< topic_tools ROS_NOBUILD in package topic_tools                  
  [rosmake-2] Starting >>> bond [ make ]                                                   
  [rosmake-2] Finished <<< bond ROS_NOBUILD in package bond                                
  [rosmake-0] Starting >>> rosbag [ make ]                                                 
  [rosmake-0] Finished <<< rosbag ROS_NOBUILD in package rosbag                            
  [rosmake-1] Starting >>> smclib [ make ]                                                 
  [rosmake-1] Finished <<< smclib ROS_NOBUILD in package smclib                            
  [rosmake-2] Starting >>> rosbagmigration [ make ]                                        
  [rosmake-3] Starting >>> actionlib_msgs [ make ]                                         
  [rosmake-0] Starting >>> rosmsg [ make ]                                                 
  [rosmake-1] Starting >>> bondcpp [ make ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2012-08-28 01:58:50 -0600

Lorenz gravatar image

Do not check out the packages from repositories but install from debian packages. Then you shouldn't need to compile anything but your own code.

sudo apt-get install ros-fuerte-pr2-object-manipulation
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-08-28 01:49:17 -0600

Seen: 803 times

Last updated: Aug 28 '12