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

Orocos components can not be compiled

asked 2011-02-20 16:25:56 -0600

Prasad gravatar image

updated 2011-03-03 07:44:55 -0600

tfoote gravatar image

Hello, I am getting an error while compiling rtt orocos-toolchain package. I tried to reinstall latest updates from repository but seems it is still not working.

rootx@rootx-laptop:/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros$ roscd rtt
rootx@rootx-laptop:/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt$ rosmake
[ rosmake ] No package specified.  Building ['rtt']                                                                                                                     
[ rosmake ] Packages requested are: ['rtt']                                                                                                                             
[ rosmake ] Logging to directory/home/rootx/.ros/rosmake/rosmake_output-20110221-115447                                                                                 
[ rosmake ] Expanded args ['rtt'] to:
['rtt']                                                                                                                           
[ rosmake ] Checking rosdeps compliance for packages rtt.  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 >>> roslang [ make ]                                                                                                                               
[rosmake-1] Finished <<< roslang ROS_NOBUILD in package roslang
 No Makefile in package roslang                                                                         
[rosmake-1] Starting >>> roslib [ make ]                                                                                                                                
[rosmake-1] Finished <<< roslib ROS_NOBUILD in package roslib                                                                                                           
[rosmake-3] Starting >>> rtt [ make ]                                                                                                                                   
[rosmake-2] Starting >>> xmlrpcpp [ make ]                                                                                                                              
[rosmake-2] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp                                                                                                       
[rosmake-2] Starting >>> rosconsole [ make ]                                                                                                                            
[rosmake-2] Finished <<< rosconsole ROS_NOBUILD in package rosconsole                                                                                                   
[rosmake-2] Starting >>> roscpp [ make ]                                                                                                                                
[rosmake-2] Finished <<< roscpp ROS_NOBUILD in package roscpp                                                                                                           
[rosmake-2] Starting >>> rosout [ make ]                                                                                                                                
[rosmake-2] Finished <<< rosout ROS_NOBUILD in package rosout                                                                                                           
[ rosmake ] Last 40 linest: 6.5 sec ]                                                                                                         [ 1 Active 9/10 Complete ]
{-------------------------------------------------------------------------------
  [  0%] Built target message
  make[3]: Entering directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Leaving directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  [ 44%] Built target orocos-rtt-gnulinux_dynamic
  make[3]: Entering directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Entering directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Leaving directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Leaving directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Entering directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  [ 47%] Built target rtt-typekit-gnulinux_plugin
  [ 49%] Built target orocos-rtt-mqueue-gnulinux_dynamic
  make[3]: Entering directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Entering directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Entering directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Leaving directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Leaving directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Leaving directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Leaving directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  make[3]: Entering directory `/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build'
  [ 49%] [ 69%] Building CXX object build/orocos-toolchain-rtt/rtt/transports/mqueue/CMakeFiles/rtt-transport-mqueue-gnulinux_plugin.dir/MQLib.cpp.o
  Built target orocos-rtt-corba-gnulinux_dynamic
  [ 76%] make[3]: Entering directory `/opt/ros ...
(more)
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2011-02-21 16:30:03 -0600

The 'official' installation instructions are available on orocos.org (http://www.orocos.org/wiki/orocos/toolchain/getting-started) and contains a link to the orocos_toolchain_ros stack. In order to solve the error message you have, a couple of questions:

  • are you sure you're working directory is clean? I see folder names like /tag/-0.1.5... That's definitely not the latest version of the stack. Ruben released the 0.2.1 version last week.
  • which ROS distribution are you using? As of diamondback, there are differences in the orocos_toolchain_ros stack between cturtle and diamondback. If you're using our git repository, use the cturtle branch for cturtle and the diamondback (or master) branch for diamondback.
  • What platform are you working on?
  • Which boost version are you using?

regards,

Steven

edit flag offensive delete link more
0

answered 2011-02-21 02:39:15 -0600

Prasad gravatar image

Hi I tried to install from your given link: http://git.mech.kuleuven.be/robotics/orocos_toolchain_ros.git

But it is throwing errors as below:

1. rootx@rootx-laptop:/opt/ros/cturtle/stacks/orocos_toolchain_ros$ rosmake --rosdep-install [ rosmake ] No package specified. Building stack ['orocos_toolchain_ros']
[ rosmake ] Packages requested are: ['orocos_toolchain_ros']
[ rosmake ] Logging to directory/home/rootx/.ros/rosmake/rosmake_output-20110221-220542 [ rosmake ] Expanded args ['orocos_toolchain_ros'] to: ['rtt_ros_integration_example', 'rtt_ros_integration_geometry_msgs', 'utilmm', 'rtt_ros_integration_sensor_msgs', 'orogen', 'rtt_ros_param', 'utilrb', 'rtt_ros_integration', 'typelib', 'rtt_ros_integration_std_msgs', 'rtt_ros_integration_nav_msgs'] [ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . . [ rosmake ] rosdep install failed: QUITTING: due to conflicting rosdep definitions, please resolve this conflict. Rules for libreadline do not match: libreadline5-dev [/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rosdep.yaml] libreadline-dev [/opt/ros/cturtle/stacks/orocos_toolchain_ros/rosdep.yaml]

  1. I tried with only rosmake:

rootx@rootx-laptop:/opt/ros/cturtle/stacks/orocos_toolchain_ros$ rosmake [ rosmake ] No package specified. Building stack ['orocos_toolchain_ros']
[ rosmake ] Packages requested are: ['orocos_toolchain_ros']
[ rosmake ] Logging to directory/home/rootx/.ros/rosmake/rosmake_output-20110221-220604
[ rosmake ] Expanded args ['orocos_toolchain_ros'] to: ['rtt_ros_integration_example', 'rtt_ros_integration_geometry_msgs', 'utilmm', 'rtt_ros_integration_sensor_msgs', 'orogen', 'rtt_ros_param', 'utilrb', 'rtt_ros_integration', 'typelib', 'rtt_ros_integration_std_msgs', 'rtt_ros_integration_nav_msgs'] [ rosmake ] Checking rosdeps compliance for packages orocos_toolchain_ros. This may take a few seconds.
QUITTING: due to conflicting rosdep definitions, please resolve this conflict. Rules for libreadline do not match: libreadline5-dev [/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rosdep.yaml] libreadline-dev [/opt/ros/cturtle/stacks/orocos_toolchain_ros/rosdep.yaml] [ rosmake ] rosdep check passed all system dependencies in packages
[rosmake-0] Starting >>> roslang [ make ]
[rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang No Makefile in package roslang
[rosmake-1] Starting >>> roslib [ make ]
[rosmake-1] Finished <<< roslib ROS_NOBUILD in package roslib
[rosmake-2] Starting >>> xmlrpcpp [ make ]
[rosmake-2] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp
[rosmake-2] Starting >>> rosbuild [ make ]
[rosmake-3] Starting >>> rosconsole [ make ]
[rosmake-3] Finished <<< rosconsole ROS_NOBUILD in package rosconsole
[rosmake-2] Finished <<< rosbuild ROS_NOBUILD in package rosbuild No Makefile in package rosbuild
[rosmake-1] Starting >>> rospy [ make ]
[rosmake-1] Finished <<< rospy ROS_NOBUILD in package rospy
[rosmake-0] Starting >>> rosclean [ make ]
[rosmake-2] Starting >>> roscpp [ make ]
[rosmake-3] Starting >>> rtt [ make ]
[rosmake-1] Starting >>> std_msgs [ make ]
[rosmake-0] Finished <<< rosclean ROS_NOBUILD in package rosclean
[rosmake-1] Finished <<< std_msgs ROS_NOBUILD in package std_msgs
[rosmake-2] Finished <<< roscpp ROS_NOBUILD in package roscpp
[rosmake-0] Starting >>> rosgraph [ make ]
[rosmake-0] Finished <<< rosgraph ROS_NOBUILD in package rosgraph
[rosmake-0] Starting >>> rosmaster [ make ]
[rosmake-0] Finished <<< rosmaster ROS_NOBUILD in package rosmaster
[rosmake-0] Starting >>> utilmm [ make ]
[rosmake-2] Starting >>> rosout [ make ]
[rosmake-2] Finished <<< rosout ROS_NOBUILD in package rosout
[rosmake-0] Finished <<< utilmm [PASS] [ 7.55 seconds ]
[rosmake-1] Starting >>> utilrb [ make ]
[rosmake-2] Starting >>> roslaunch [ make ]
[rosmake-2] Finished <<< roslaunch ROS_NOBUILD in package roslaunch No Makefile in package roslaunch
[ rosmake ] Last 40 linest: 21.2 sec ] [ utilrb: 13.4 sec ] [ roslaunch: 13.4 sec ] [ 3 Active 15/36 Complete ] {------------------------------------------------------------------------------- [ 0%] Built target message make[3]: Entering directory /opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build' make[3]: Leaving directory/opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build' [ 44%] Built target orocos-rtt-gnulinux_dynamic make[3]: Entering directory /opt/ros/cturtle/stacks/kul-ros-pkg/stacks/orocos_toolchain_ros/tags/orocos_toolchain_ros-0.1.5/rtt/build' make[3 ... (more)

edit flag offensive delete link more
0

answered 2011-02-20 23:29:52 -0600

KoenBuys gravatar image

Are you using the orocos installation from debian packages or from svn install? We moved the complete repository to git: http://git.mech.kuleuven.be/robotics/orocos_toolchain_ros.git

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-02-20 16:25:56 -0600

Seen: 685 times

Last updated: Mar 03 '11