[Bug 772] New: Xenomai target broken when using xenomai 2.4

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=772

Summary: Xenomai target broken when using xenomai 2.4
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Build System
AssignedTo: orocos-dev [..] ...
ReportedBy: steven [dot] kauffmann [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Hi,

I just did a clean checkout of rtt trunk. When Xenomai is selected as Orocos
target, I get this error message in cmake:

Orocos RTT version (1.10.3)

No orocos-rtt.cmake file loaded, using default settings.See
orocos-rtt.default.cmake

Boost found in /usr/include

Orocos target is xenomai

CMake Error at config/check_depend.cmake:204 (message):
No suitable OROCOS_TARGET selected. Use one of
'lxrt,xenomai,gnulinux,macosx,win32'
Call Stack (most recent call first):
CMakeLists.txt:77 (INCLUDE)

Xenomai is correctly installed:

dpkg -l libxenomai*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Description
+++-===========================================================================
ii libxenomai-dev 2.4.8-2ubuntu1 Headers and static libs for Xenomai
ii libxenomai1 2.4.8-2ubuntu1 Headers and static libs for Xenomai

Also tested when xenomai is build from source and CMAKE_INCLUDE_PATH and
CMAKE_LIBRARY_PATH are set correctly. But cmake is still not able to find
xenomai.

When I revert the changes of this commit (rev 31677), I'm able to build rtt
with xenomai 2.4.

[Bug 772] Xenomai target broken when using xenomai 2.4

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=772

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution| |FIXED
Status|NEW |RESOLVED

--- Comment #1 from Peter Soetens <peter [..] ...> 2010-06-17 16:02:04 ---
(In reply to comment #0)
> Hi,
>
> I just did a clean checkout of rtt trunk. When Xenomai is selected as Orocos
> target, I get this error message in cmake:
>
> Orocos RTT version (1.10.3)
>
> No orocos-rtt.cmake file loaded, using default settings.See
> orocos-rtt.default.cmake
>
> Boost found in /usr/include
>
> Orocos target is xenomai
>
> CMake Error at config/check_depend.cmake:204 (message):
> No suitable OROCOS_TARGET selected. Use one of
> 'lxrt,xenomai,gnulinux,macosx,win32'
> Call Stack (most recent call first):
> CMakeLists.txt:77 (INCLUDE)
>
> Xenomai is correctly installed:
>
> dpkg -l libxenomai*
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version
> Description
> +++-===========================================================================
> ii libxenomai-dev 2.4.8-2ubuntu1 Headers and static libs for Xenomai
> ii libxenomai1 2.4.8-2ubuntu1 Headers and static libs for Xenomai
>
> Also tested when xenomai is build from source and CMAKE_INCLUDE_PATH and
> CMAKE_LIBRARY_PATH are set correctly. But cmake is still not able to find
> xenomai.
>
> When I revert the changes of this commit (rev 31677), I'm able to build rtt with
> xenomai 2.4.

As happens too often, the 1.0 trunk was behind the 2.0 mainline. I've
backported it now to 1.x trunk and 1.10 branch.

Peter