Problems with compilation of rtt_ros_integration on Ubuntu 12.04, ROS fuerte

Hi,

I have strictly followed instructions for installation of ROS Fuerte
on Ubuntu 12.04, and then the guide for bilding orocos tollchain from

http://www.ros.org/wiki/orocos_toolchain_ros

I have tried both options (1. rosinstall based, 2. manual), without
success. Building of rtt_rosnode fails in both cases in link phase:

mvukov@belgoo:rosstacks$ rosmake rtt_ros_integration
[ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['rtt_ros_integration']
[ rosmake ] Logging to directory
/home/mvukov/.ros/rosmake/rosmake_output-20130217-140203
[ rosmake ] Expanded args ['rtt_ros_integration'] to:
['rtt_ros_integration_example', 'rtt_rosnode', 'rtt_rospack']
[rosmake-0] Starting >>> rtt [ make ]
[rosmake-1] Starting >>> roslang [ make ]
[rosmake-2] Starting >>> roslib [ make ]
[rosmake-1] Finished <<< roslang No Makefile in package roslang
[rosmake-1] Starting >>> roscpp [ make ]
[rosmake-3] Starting >>> log4cpp [ make ]
[rosmake-2] Finished <<< roslib No Makefile in package roslib
[rosmake-2] Starting >>> rosbuild [ make ]
[rosmake-1] Finished <<< roscpp No Makefile in package roscpp
[rosmake-1] Starting >>> std_msgs [ make ]
[rosmake-2] Finished <<< rosbuild No Makefile in package rosbuild
[rosmake-2] Starting >>> utilmm [ make ]
[rosmake-1] Finished <<< std_msgs No Makefile in package std_msgs
[rosmake-1] Starting >>> utilrb [ make ]
[rosmake-3] Finished <<< log4cpp [PASS] [ 0.15 seconds ]
[rosmake-3] Starting >>> mk [ make ]
[rosmake-3] Finished <<< mk No Makefile in package mk
[rosmake-2] Finished <<< utilmm [PASS] [ 0.32 seconds ]
[rosmake-1] Finished <<< utilrb [PASS] [ 0.33 seconds ]
[rosmake-1] Starting >>> typelib [ make ]
[rosmake-1] Finished <<< typelib [PASS] [ 1.06 seconds ]
[rosmake-0] Finished <<< rtt [PASS] [ 1.59 seconds ]
[rosmake-0] Starting >>> rtt_rospack [ make ]
[rosmake-1] Starting >>> ocl [ make ]
[rosmake-3] Starting >>> rtt_typelib [ make ]
[rosmake-0] Finished <<< rtt_rospack [PASS] [ 0.45 seconds ]
[rosmake-3] Finished <<< rtt_typelib [PASS] [ 0.84 seconds ]
[rosmake-3] Starting >>> orogen [ make ]
[rosmake-3] Finished <<< orogen [PASS] [ 0.19 seconds ]
[rosmake-1] Finished <<< ocl [PASS] [ 2.16 seconds ]
[rosmake-1] Starting >>> rtt_rosnode [ make ]
[ rosmake ] Last 40 linest_rosnode: 0.6 sec ]
[ 1 Active 15/17 Complete ]
{-------------------------------------------------------------------------------
Warning: xpath not found. Can't read dependencies in manifest.xml file.
[UseOrocos] Building plugin library rtt_rosnode
[UseOrocos] Building plugin library rtt_rosparam_service
[UseOrocos] Building typekit library rtt-ros-primitives-typekit
[UseOrocos] Generating package version 1.0 (default version).

Problems with compilation of rtt_ros_integration on Ubuntu 12.04

Hi Milan,

I have strictly followed instructions for installation of ROS Fuerte
> on Ubuntu 12.04, and then the guide for bilding orocos tollchain from
>
> http://www.ros.org/wiki/orocos_toolchain_ros
>
> I have tried both options (1. rosinstall based, 2. manual), without
> success. Building of rtt_rosnode fails in both cases in link phase:
>

These instructions just works fine to me....
However, if you would like to save some compiling time, under ROS they are
already several debian packages for Ubuntu 12.04 in order to have Orocos
working.
To give a try, just get these:

apt-get install ros-fuerte-orocos-toolchain ros-fuerte-rtt-common-msgs
ros-fuerte-geometry ros-fuerte-ros-comm ros-fuerte-rtt-ros-integration

(I hope I didn't forget anyone)

Hope this helps,

- Enea

Problems with compilation of rtt_ros_integration on Ubuntu 12.04

Hi Enea,

Thanx for the answer :) I wanted to build OROCOS from git (master), to
be able to easily upgrade later. Some time ago, true, I used apt-get
to install OROCOS/ROS packages...

Best,
Milan.

On Wed, Feb 20, 2013 at 11:32 PM, Enea Scioni <scnnee [..] ...> wrote:
> Hi Milan,
>
>> I have strictly followed instructions for installation of ROS Fuerte
>> on Ubuntu 12.04, and then the guide for bilding orocos tollchain from
>>
>> http://www.ros.org/wiki/orocos_toolchain_ros
>>
>> I have tried both options (1. rosinstall based, 2. manual), without
>> success. Building of rtt_rosnode fails in both cases in link phase:
>
>
> These instructions just works fine to me....
> However, if you would like to save some compiling time, under ROS they are
> already several debian packages for Ubuntu 12.04 in order to have Orocos
> working.
> To give a try, just get these:
>
> apt-get install ros-fuerte-orocos-toolchain ros-fuerte-rtt-common-msgs
> ros-fuerte-geometry ros-fuerte-ros-comm ros-fuerte-rtt-ros-integration
>
> (I hope I didn't forget anyone)
>
> Hope this helps,
>
> - Enea
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

--
Milan Vukov, PhD Student
KU Leuven, Electrical Engineering Department (ESAT)
Kasteelpark Arenberg 10, bus 2446
B-3001 Leuven-Heverlee, Belgium
e-mail: milan [dot] vukov [..] ...
phone: +32-479-813256 (BE), +381-64-1541622 (SR)
disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Problems with compilation of rtt_ros_integration on Ubuntu 12.04

Hi Milan,

My understanding is that the official, recommended way to install the
orocos toolchain is no longer through ROS, it is through a ~different
meta operating system / package manager called ROCK / autoproj.

Instructions are here:

http://www.orocos.org/wiki/orocos/toolchain/quick-start-linux

There does not exist a single git repo that you can just clone and
build the toolchain in a standard CMake way. I found manually
checking out and building all of the individual packages to be
impractical, and spent several workdays failing to build a working
Orocos toolchain.

Cheers,
Andrew

On Sun, Feb 17, 2013 at 2:07 PM, Milan Vukov
<milan [dot] vukov [..] ...> wrote:
> Hi,
>
> I have strictly followed instructions for installation of ROS Fuerte
> on Ubuntu 12.04, and then the guide for bilding orocos tollchain from
>
> http://www.ros.org/wiki/orocos_toolchain_ros
>
> I have tried both options (1. rosinstall based, 2. manual), without
> success. Building of rtt_rosnode fails in both cases in link phase:
>
> mvukov@belgoo:rosstacks$ rosmake rtt_ros_integration
> [ rosmake ] rosmake starting...
> [ rosmake ] Packages requested are: ['rtt_ros_integration']
> [ rosmake ] Logging to directory
> /home/mvukov/.ros/rosmake/rosmake_output-20130217-140203
> [ rosmake ] Expanded args ['rtt_ros_integration'] to:
> ['rtt_ros_integration_example', 'rtt_rosnode', 'rtt_rospack']
> [rosmake-0] Starting >>> rtt [ make ]
> [rosmake-1] Starting >>> roslang [ make ]
> [rosmake-2] Starting >>> roslib [ make ]
> [rosmake-1] Finished <<< roslang No Makefile in package roslang
> [rosmake-1] Starting >>> roscpp [ make ]
> [rosmake-3] Starting >>> log4cpp [ make ]
> [rosmake-2] Finished <<< roslib No Makefile in package roslib
> [rosmake-2] Starting >>> rosbuild [ make ]
> [rosmake-1] Finished <<< roscpp No Makefile in package roscpp
> [rosmake-1] Starting >>> std_msgs [ make ]
> [rosmake-2] Finished <<< rosbuild No Makefile in package rosbuild
> [rosmake-2] Starting >>> utilmm [ make ]
> [rosmake-1] Finished <<< std_msgs No Makefile in package std_msgs
> [rosmake-1] Starting >>> utilrb [ make ]
> [rosmake-3] Finished <<< log4cpp [PASS] [ 0.15 seconds ]
> [rosmake-3] Starting >>> mk [ make ]
> [rosmake-3] Finished <<< mk No Makefile in package mk
> [rosmake-2] Finished <<< utilmm [PASS] [ 0.32 seconds ]
> [rosmake-1] Finished <<< utilrb [PASS] [ 0.33 seconds ]
> [rosmake-1] Starting >>> typelib [ make ]
> [rosmake-1] Finished <<< typelib [PASS] [ 1.06 seconds ]
> [rosmake-0] Finished <<< rtt [PASS] [ 1.59 seconds ]
> [rosmake-0] Starting >>> rtt_rospack [ make ]
> [rosmake-1] Starting >>> ocl [ make ]
> [rosmake-3] Starting >>> rtt_typelib [ make ]
> [rosmake-0] Finished <<< rtt_rospack [PASS] [ 0.45 seconds ]
> [rosmake-3] Finished <<< rtt_typelib [PASS] [ 0.84 seconds ]
> [rosmake-3] Starting >>> orogen [ make ]
> [rosmake-3] Finished <<< orogen [PASS] [ 0.19 seconds ]
> [rosmake-1] Finished <<< ocl [PASS] [ 2.16 seconds ]
> [rosmake-1] Starting >>> rtt_rosnode [ make ]
> [ rosmake ] Last 40 linest_rosnode: 0.6 sec ]
> [ 1 Active 15/17 Complete ]
> {-------------------------------------------------------------------------------
> Warning: xpath not found. Can't read dependencies in manifest.xml file.
> [UseOrocos] Building plugin library rtt_rosnode
> [UseOrocos] Building plugin library rtt_rosparam_service
> [UseOrocos] Building typekit library rtt-ros-primitives-typekit
> [UseOrocos] Generating package version 1.0 (default version).
> -- Configuring done
> -- Generating done
> CMake Warning:
> Manually-specified variables were not used by the project:
>
> CMAKE_TOOLCHAIN_FILE
>
>
> -- Build files have been written to:
> /home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build
> cd build && make -l4
> make[1]: Entering directory
> `/home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build'
> make[2]: Entering directory
> `/home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build'
> make[3]: Entering directory
> `/home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build'
> make[3]: Leaving directory
> `/home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build'
> [ 76%] Built target rtt-ros-primitives-typekit
> make[3]: Entering directory
> `/home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build'
> make[3]: Leaving directory
> `/home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build'
> make[3]: Entering directory
> `/home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build'
> Linking CXX shared library ../lib/librtt_rosnode-gnulinux.so
> CMakeFiles/rtt_rosnode.dir/src/ros_plugin.o: In function `loadRTTPlugin':
> ros_plugin.cpp:(.text+0x2e): undefined reference to `ros::isInitialized()'
> ros_plugin.cpp:(.text+0x70): undefined reference to `ros::init(int&,
> char**, std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, unsigned int)'
> ros_plugin.cpp:(.text+0x7d): undefined reference to `ros::master::check()'
> ros_plugin.cpp:(.text+0x86): undefined reference to `ros::start()'
> ros_plugin.cpp:(.text+0xb5): undefined reference to `ros::shutdown()'
> ros_plugin.cpp:(.text+0xe4): undefined reference to
> `ros::AsyncSpinner::AsyncSpinner(unsigned int)'
> ros_plugin.cpp:(.text+0x116): undefined reference to
> `ros::AsyncSpinner::start()'
> collect2: ld returned 1 exit status
> make[3]: *** [../lib/librtt_rosnode-gnulinux.so] Error 1
> make[3]: Leaving directory
> `/home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build'
> make[2]: *** [CMakeFiles/rtt_rosnode.dir/all] Error 2
> make[2]: Leaving directory
> `/home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/mvukov/Work/rosstacks/rtt_ros_integration/rtt_rosnode/build'
> -------------------------------------------------------------------------------}
> [ rosmake ] Output from build of package rtt_rosnode written to:
> [ rosmake ] /home/mvukov/.ros/rosmake/rosmake_output-20130217-140203/rtt_rosnode/build_output.log
> [rosmake-1] Finished <<< rtt_rosnode [FAIL] [ 0.59 seconds ]
> [ rosmake ] Halting due to failure in package rtt_rosnode.
> [ rosmake ] Waiting for other threads to complete.
> [ rosmake ] Results:
> [ rosmake ] Built 16 packages with 1 failures.
> [ rosmake ] Summary output to directory
> [ rosmake ] /home/mvukov/.ros/rosmake/rosmake_output-20130217-140203
>
> Can someone help me please?
>
> Thanx,
> Milan
>
> --
> Milan Vukov, PhD Student
> KU Leuven, Electrical Engineering Department (ESAT)
> Kasteelpark Arenberg 10, bus 2446
> B-3001 Leuven-Heverlee, Belgium
> e-mail: milan [dot] vukov [..] ...
> phone: +32-479-813256 (BE), +381-64-1541622 (SR)
> disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users