Hi Santiago, On Thu, Feb 16, 2012 at 8:13 PM, Dave Hershberger wrote: > Hi Santiago, > > This should probably be asked on answers.ros.org so others can benefit. > > The first error is "Failed to find stack for package [tf]". At > ros.org/wiki/tf you can see that tf is in stack "geometry". From there > you can guess that you should either apt-get install ros-electric-geometry > (if that works for you) or svn checkout geometry from the branch used in > the electric release (if you need to build from source). In general if you > are building from source instead of using the pre-built packages you will > have to do some dependency hunting. > > Dave > > On Thu, Feb 16, 2012 at 9:50 AM, Santiago Focke wrote: > >> Hi all >> >> Im trying to instal the orocos_tolchain_ros (ROS-electric) by compiling >> it from source (as explained in >> http://www.ros.org/wiki/orocos_toolchain_ros), but I get the following >> stack-dependencies errors when ros-making the package rtt_geometry. >> >> >> rosmake rtt_geometry >> [ rosmake ] Packages requested are: >> ['rtt_geometry'] >> >> [ rosmake ] Logging to >> directory/home/corbys/.ros/rosmake/rosmake_output-20120216-183853 >> >> [ rosmake ] Expanded args ['rtt_geometry'] to: >> ['rtt_tf', 'kdl_lua', >> 'kdl_typekit'] >> >> [ rosmake ] Checking rosdeps compliance for packages rtt_geometry. This >> may take a few >> seconds. >> >> Failed to find stack for package [tf] >> Failed to load rosdep.yaml for package [tf]:Cannot locate installation of >> package tf: [rospack] couldn't find package [tf]. >> ROS_ROOT[/opt/ros/electric/ros] >> ROS_PACKAGE_PATH[/opt/ros/electric/stacks:/home/corbys/ECLIPSE/workspace:/home/corbys/orocos] >> Failed to find stack for package [orocos_kdl] >> Failed to load rosdep.yaml for package [orocos_kdl]:Cannot locate >> installation of package orocos_kdl: [rospack] couldn't find package >> [orocos_kdl]. ROS_ROOT[/opt/ros/electric/ros] >> ROS_PACKAGE_PATH[/opt/ros/electric/stacks:/home/corbys/ECLIPSE/workspace:/home/corbys/orocos] >> [ rosmake ] rosdep check passed all system dependencies in >> packages >> >> [rosmake-0] Starting >>> kdl_typekit [ make >> ] >> >> [ rosmake ] All 22 linesdl_typekit: 0.1 sec >> ] >> [ 1 Active 0/6 Complete ] >> >> {------------------------------------------------------------------------------- >> mkdir -p bin >> cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find >> rosbuild`/rostoolchain.cmake .. >> [rosbuild] Building package kdl_typekit >> [rosmake-1] Starting >>> rtt [ make >> ] >> >> Failed to invoke /opt/ros/electric/ros/bin/rospack deps-manifests >> kdl_typekit >> [rospack] couldn't find dependency [orocos_kdl] of [kdl_typekit] >> [rospack] missing dependency >> >> > It seems you are missing the orocos_kdl package, since this package was new since electric you will need to compile it yourself for diamondback from source: http://git.mech.kuleuven.be/robotics/orocos_kinematics_dynamics.git > >> CMake Error at /opt/ros/electric/ros/core/rosbuild/public.cmake:129 >> (message): >> >> >> Failed to invoke rospack to get compile flags for package >> 'kdl_typekit'. >> Look above for errors from rospack itself. Aborting. Please fix the >> broken dependency! >> >> Call Stack (most recent call first): >> /opt/ros/electric/ros/core/rosbuild/public.cmake:206 >> (rosbuild_invoke_rospack) >> CMakeLists.txt:12 (rosbuild_init) >> >> >> -- Configuring incomplete, errors occurred! >> >> -------------------------------------------------------------------------------} >> [ rosmake ] Output from build of package kdl_typekit written to: >> [ rosmake ] >> /home/corbys/.ros/rosmake/rosmake_output-20120216-183853/kdl_typekit/build_output.log >> >> [rosmake-0] Finished <<< kdl_typekit [FAIL] [ 0.15 seconds >> ] >> >> [rosmake-2] Starting >>> log4cpp [ make >> ] >> >> [rosmake-2] Finished <<< log4cpp [PASS] [ 0.08 seconds >> ] >> >> [rosmake-3] Starting >>> kdl_lua [ make >> ] >> >> [ rosmake ] Halting due to failure in package kdl_typekit. >> [ rosmake ] Waiting for other threads to >> complete. >> [rosmake-3] Finished <<< kdl_lua No Makefile in package >> kdl_lua >> >> [rosmake-2] Starting >>> rtt_tf [ make >> ] >> >> [ rosmake ] All 22 linestt: 0.3 sec ] [ rtt_tf: 0.1 sec >> ] >> [ 2 Active 2/6 Complete ] >> >> {------------------------------------------------------------------------------- >> mkdir -p bin >> cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find >> rosbuild`/rostoolchain.cmake .. >> [rosbuild] Building package rtt_tf >> Failed to invoke /opt/ros/electric/ros/bin/rospack deps-manifests rtt_tf >> [rospack] couldn't find dependency [tf] of [rtt_tf] >> [rospack] missing dependency >> >> >> CMake Error at /opt/ros/electric/ros/core/rosbuild/public.cmake:129 >> (message): >> >> >> Failed to invoke rospack to get compile flags for package 'rtt_tf'. >> Look >> above for errors from rospack itself. Aborting. Please fix the >> broken >> dependency! >> >> Call Stack (most recent call first): >> /opt/ros/electric/ros/core/rosbuild/public.cmake:206 >> (rosbuild_invoke_rospack) >> CMakeLists.txt:20 (rosbuild_init) >> >> >> -- Configuring incomplete, errors occurred! >> >> -------------------------------------------------------------------------------} >> [ rosmake ] Output from build of package rtt_tf written to: >> [ rosmake ] >> /home/corbys/.ros/rosmake/rosmake_output-20120216-183853/rtt_tf/build_output.log >> >> [rosmake-2] Finished <<< rtt_tf [FAIL] [ 0.16 seconds >> ] >> >> [ rosmake ] Halting due to failure in package rtt_tf. >> [ rosmake ] Waiting for other threads to >> complete. >> [rosmake-1] Finished <<< rtt [PASS] [ 1.94 seconds >> ] >> >> [ rosmake ] >> Results: >> >> [ rosmake ] Built 5 packages with 2 >> failures. >> >> [ rosmake ] Summary output to >> directory >> >> [ rosmake ] /home/corbys/.ros/rosmake/rosmake_output-20120216-183853 >> >> >> I downloaded the kdl from http://www.orocos.org/kdl/Installation_Manualand installed it, but the problem remains. >> >> Ouch, that manual is completely out of date :(. You should use the package from the git repository to which I referred to above. Ruben In case it is important, I'm working with Xenomai 2.6.0 (OROCOS_TARGET = >> xenomai), and ros-electric-ros was installed with Synaptic. Alos, the >> orocos-toolchain directory is in home, not in the ros-stack directory, but >> the ROS_PATH includes also this directory. >> >> Thanks in advance. >> >> Regards, >> >> -- >> Santiago >> >> _______________________________________________ >> ros-users mailing list >> ros-users@code.ros.org >> https://code.ros.org/mailman/listinfo/ros-users >> >> > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > >