[ros-users] OROCOS: Failed to invoke rospack to get compile flags for package 'kdl_typekit' and 'rtt_tf'

Dave Hershberger hersh at willowgarage.com
Thu Feb 16 19:13:41 UTC 2012


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 <focke.85 at gmail.com> 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.
>
> <code>
> 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
>
>
>   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
> </code>
>
> I downloaded the kdl from http://www.orocos.org/kdl/Installation_Manualand installed it, but the problem remains.
>
> 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 at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20120216/8a1d3960/attachment-0004.html>


More information about the ros-users mailing list