[Bug 952] New: OCL fails to find RTT with cmake 2.8.8

http://bugs.orocos.org/show_bug.cgi?id=952

Summary: OCL fails to find RTT with cmake 2.8.8
Product: Toolchain
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: OCL
AssignedTo: orocos-dev [..] ...
ReportedBy: steven [dot] bellens [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Starting from 2.8.8 (reported to work with 2.8.7 by Ruben), OCL (and all
components using RTT) fail to find RTT, with the cmake error message:

Orocos Component Library version (2.5.0)
No orocos-ocl.cmake file loaded, using default settings.See
orocos-ocl.default.cmake
Orocos-RTT found in
/home/u0063509/stacks/orocos_toolchain/install/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries.cmake

[Bug 952] OCL fails to find RTT with cmake 2.8.8

http://bugs.orocos.org/show_bug.cgi?id=952

Steven Bellens <steven [dot] bellens [..] ...> changed:

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

[Bug 952] OCL fails to find RTT with cmake 2.8.8

[Bug 952] OCL fails to find RTT with cmake 2.8.8

On Sun, May 13, 2012 at 1:33 AM, Steven Bellens <
steven [dot] bellens [..] ...> wrote:

>
> http://bugs.orocos.org/show_bug.cgi?id=952
>

[Bug 952] OCL fails to find RTT with cmake 2.8.8

2012/5/14 Peter Soetens <peter [..] ...>:
> On Sun, May 13, 2012 at 1:33 AM, Steven Bellens
> <steven [dot] bellens [..] ...> wrote:
>>
>>
>> http://bugs.orocos.org/show_bug.cgi?id=952
>>
>> --- Comment #2 from Steven Bellens <steven [dot] bellens [..] ...>
>> 2012-05-13 01:33:29 CEST ---
>> [...]
>> >
>> > Could you test this one liner in rtt/orocos-rtt-config.cmake ?
>> >
>> >
>> > diff --git a/orocos-rtt-config.cmake b/orocos-rtt-config.cmake
>> > index 333a4a4..9f6cc23 100644
>> > --- a/orocos-rtt-config.cmake
>> > +++ b/orocos-rtt-config.cmake
>> > @@ -152,9 +152,9 @@ set(OROCOS-RTT_USE_FILE
>> > ${SELF_DIR}/UseOROCOS-RTT.cmake)
>> >
>> >  # Confirm found, not cached !
>> >  message("Orocos-RTT found in ${OROCOS-RTT_IMPORT_FILE}")
>> > -set(OROCOS-RTT_FOUND ${OROCOS-RTT_IMPORT_FILE})
>> > +set(OROCOS-RTT_FOUND TRUE)
>>
>> Yes, this seems to solve the problem. Can I just push this, or will it
>> break
>> other systems?
>
>
> You can just push it (to toolchain-2.5). It's more correct like this
> and OROCOS-RTT_IMPORT_FILE is still defined.

K, Done

Steven

>
> Peter
>
>>
>>
>> Steven
>>
>> >
>> > -endif()
>> > +endif() # NOT OROCOS-RTT_FOUND
>> >
>> >
>> >
>> >
>> > ########################################################################################################################
>> >
>> > You'll have to make install rtt to see if it works.
>> >
>> > We don't want to cache OROCOS-RTT_FOUND since this would prevent
>> >  multiple
>> > calls into the find_package logic...not allowing us to find additional
>> > plugins
>> > in different parts of the same build tree.
>> >
>> > Peter
>>
>> --
>> Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
>> ------- You are receiving this mail because: -------
>> You are on the CC list for the bug.
>> You are the assignee for the bug.
>> --
>> Orocos-Dev mailing list
>> Orocos-Dev [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>
>

[Bug 952] OCL fails to find RTT with cmake 2.8.8

http://bugs.orocos.org/show_bug.cgi?id=952

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

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |peter [..] ...