installation of ros-diamondback-orocos-toolchain-ros for xenomai

Hi all

I just installed a Xenomai kernel and want to migrate my Orocos projects, but I've had some troubles doing this. How should I install the ros-diamondback-orocos-toolchain-ros for a xenomai target? When I install it with

    sudo aptitude install ros-diamondback-orocos-toolchain-ros
I'm not able to select xenomai as the target. After the installation I type

   source /opt/ros/diamondback/setup.bash
   source /opt/ros/diamondback/stacks/orocos_toolchain_ros/env.sh
   export OROCOS_TARGET=xenomai
but when I try to compile my projects I get the following error:

   CMake Error at /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-config.cmake:95 (include):
    include could not find load file:
 
      /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-config-xenomai.cmake
  Call Stack (most recent call first):
    CMakeLists.txt:22 (find_package)
 
 
  CMake Error at /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-config.cmake:111 (message):
    Could not find an OROCOS-RTT installation for the xenomai target.  Missing
    file:
    /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-xenomai-libraries.cmake
  Call Stack (most recent call first):
    CMakeLists.txt:22 (find_package)

Obviously the installation is not building the xenomai packages. What should I do?

Thanks in advance.

Santiago

installation of ros-diamondback-orocos-toolchain-ros for xenomai

On Thu, Jan 19, 2012 at 6:58 PM, <focke [dot] 85 [..] ...> wrote:
> Hi all
>
> I just installed a Xenomai kernel and want to migrate my Orocos projects, but
> I've had some troubles doing this. How should I install the
> ros-diamondback-orocos-toolchain-ros for a xenomai target? When I install it
> with
>
>     sudo aptitude install ros-diamondback-orocos-toolchain-ros
>
> I'm not able to select xenomai as the target. After the installation I type
>
>    source /opt/ros/diamondback/setup.bash
>    source /opt/ros/diamondback/stacks/orocos_toolchain_ros/env.sh
>    export OROCOS_TARGET=xenomai
>
> but when I try to compile my projects I get the following error:
>
>
>    CMake Error at
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-config.cmake:95
> (include):
>     include could not find load file:
>
>
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-config-xenomai.cmake
>   Call Stack (most recent call first):
>     CMakeLists.txt:22 (find_package)
>
>
>   CMake Error at
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-config.cmake:111
> (message):
>     Could not find an OROCOS-RTT installation for the xenomai target.
> Missing
>     file:
>
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-xenomai-libraries.cmake
>   Call Stack (most recent call first):
>     CMakeLists.txt:22 (find_package)
>
>
> Obviously the installation is not building the xenomai packages. What should
> I do?
>
> Thanks in advance.
>
> Santiago

This has been answered on the ROS mailing list in the meantime, but
the short answer is that the debs don't support Xenomai and you need a
source build for that.

Peter