Ask Your Question

weird rosmake error with pr2_description package

asked 2012-10-04 00:39:39 -0600

ricoj gravatar image

updated 2012-10-04 02:11:49 -0600


I'm trying to build the pr2_description package on a ubuntu 12.04 machine with ros fuerte.

I get the following error, which I do not understand. Can someone help me?

Thanks a lot!

$ rosmake pr2_description 
[ rosmake ] rosmake starting...                                                                                                                                                                              
[ rosmake ] Packages requested are: ['pr2_description']                                                                                                                                                      
[ rosmake ] Logging to directory /home/rico/.ros/rosmake/rosmake_output-20121004-122817                                                                                                                      
[ rosmake ] Expanded args ['pr2_description'] to:
[rosmake-0] Starting >>> convex_decomposition [ make ]                                                                                                                                                       
[rosmake-1] Starting >>> ivcon [ make ]                                                                                                                                                                      
[rosmake-2] Starting >>> roslang [ make ]                                                                                                                                                                    
[rosmake-3] Starting >>> colladadom [ make ]                                                                                                                                                                 
[rosmake-0] Finished <<< convex_decomposition ROS_NOBUILD in package convex_decomposition                                                                                                                    
[rosmake-0] Starting >>> urdf_interface [ make ]                                                                                                                                                             
[rosmake-4] Starting >>> rostest [ make ]                                                                                                                                                                    
[rosmake-1] Finished <<< ivcon ROS_NOBUILD in package ivcon                                                                                                                                                  
[rosmake-0] Finished <<< urdf_interface ROS_NOBUILD in package urdf_interface                                                                                                                                
[rosmake-5] Starting >>> rosbuild [ make ]                                                                                                                                                                   
[rosmake-2] Finished <<< roslang  No Makefile in package roslang                                                                                                                                             
[rosmake-3] Finished <<< colladadom ROS_NOBUILD in package colladadom                                                                                                                                        
[rosmake-4] Finished <<< rostest  No Makefile in package rostest                                                                                                                                             
[rosmake-3] Starting >>> roscpp [ make ]                                                                                                                                                                     
[rosmake-5] Finished <<< rosbuild  No Makefile in package rosbuild                                                                                                                                           
[rosmake-5] Starting >>> xacro [ make ]                                                                                                                                                                      
[rosmake-3] Finished <<< roscpp  No Makefile in package roscpp                                                                                                                                               
[rosmake-1] Starting >>> urdf_parser [ make ]                                                                                                                                                                
[rosmake-3] Starting >>> collada_parser [ make ]                                                                                                                                                             
[rosmake-3] Finished <<< collada_parser ROS_NOBUILD in package collada_parser                                                                                                                                
[rosmake-5] Finished <<< xacro ROS_NOBUILD in package xacro                                                                                                                                                  
[rosmake-1] Finished <<< urdf_parser ROS_NOBUILD in package urdf_parser                                                                                                                                      
[rosmake-1] Starting >>> urdf [ make ]                                                                                                                                                                       
[rosmake-1] Finished <<< urdf ROS_NOBUILD in package urdf                                                                                                                                                    
[rosmake-1] Starting >>> pr2_description [ make ]                                                                                                                                                            
[ rosmake ] All 34 linesr2_description: 0.5 sec ]                                                                                                                                 [ 1 Active 12/13 Complete ]
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package pr2_description
  [rosbuild] Including /opt/ros/fuerte/share/roscpp/rosbuild/roscpp.cmake
  [rosbuild] Including /opt/ros/fuerte/share/rospy/rosbuild/rospy.cmake
  [rosbuild] Including /opt/ros/fuerte/share/roslisp/rosbuild/roslisp.cmake

  [rosbuild] WARNING: the file /opt/ros/fuerte/stacks/xacro/cmake/xacro.cmake is being included automatically.  This behavior is deprecated.  The package containing that file should instead export the directory containing the file, and you should use rosbuild_include() to include the file explicitly.

  [rosbuild] Including /opt/ros/fuerte/stacks/xacro/cmake/xacro.cmake
  -- Configuring done
  -- Generating done
  CMake Warning:
    Manually-specified variables were not used by the project:


  -- Build files have been written to: /home/rico/ros/workspace/pr2_description/build
  cd build && make -l8

  make[1]: Entering directory `/home/rico/ros/workspace/pr2_description/build'

  make[2]: Entering directory `/home/rico/ros/workspace/pr2_description/build'

  make[3]: Entering directory `/home/rico/ros/workspace/pr2_description/build'

  make[3]: Leaving directory `/home/rico/ros/workspace/pr2_description/build'

  make[3]: Entering directory `/home/rico/ros/workspace/pr2_description/build'

  [  0%] Generating ../meshes/shoulder_v0/convex/upper_arm_roll_L.obj

  make[3]: IVCON_PROG-NOTFOUND: Command not found

  make[3]: *** [../meshes/shoulder_v0/convex/upper_arm_roll_L.obj] Error 127

  make[3]: Leaving directory `/home/rico/ros/workspace/pr2_description/build'

  make[2]: *** [CMakeFiles/media_files.dir/all] Error 2

  make[2]: Leaving directory `/home/rico/ros/workspace/pr2_description/build'

  make[1]: *** [all] Error 2

  make[1]: Leaving directory `/home/rico/ros/workspace/pr2_description/build'

[ rosmake ] Output from build of package pr2_description written to:
[ rosmake ]    /home/rico/.ros/rosmake/rosmake_output-20121004-122817/pr2_description/build_output.log                                  
[rosmake-1] Finished <<< pr2_description [FAIL] [ 0.56 seconds ]                                                                                                                                             
[ rosmake ] Halting due to failure in package pr2_description. 
[ rosmake ] Waiting for other threads to complete.                                                                                           
[ rosmake ] Results ...
edit retag flag offensive close merge delete


Are you maybe using pr2_description from trunk? There is a pretty good chance that it only compiles under groovy. Try using the version from the fuerte branch if you really cannot install from debian packages:

Lorenz gravatar image Lorenz  ( 2012-10-04 02:08:29 -0600 )edit

I have installed new packages using roslocate info PACKAGE >> .rosinstall and rosws update in my workspace.

ricoj gravatar image ricoj  ( 2012-10-04 02:14:45 -0600 )edit

Please have a look at my updated answer. Get rid of your source installation and install it from debian packages: sudo apt-get install ros-fuerte-pr2-common

Lorenz gravatar image Lorenz  ( 2012-10-04 02:21:34 -0600 )edit

okay, I installed the package I was originally interested in using

sudo apt-get install ros-fuerte-PACKAGE

this includes all dependencies and should fix the problem :-)

ricoj gravatar image ricoj  ( 2012-10-04 02:23:54 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-04 00:58:19 -0600

Lorenz gravatar image

updated 2012-10-04 02:06:24 -0600

The system is unable to find ivcon which is part of the stack robot_model. Install it with:

sudo apt-get install ros-fuerte-robot-model

Note that you can get an already compiled version of pr2_description by installing the pr2_common debian pacakge:

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-10-04 00:39:39 -0600

Seen: 760 times

Last updated: Oct 04 '12