http://bugs.orocos.org/show_bug.cgi?id=826
Summary: Detection of orocos_target environment variable fails
Product: Toolchain
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: RTT
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
Hi,
I'm on RTT/master using cmake versi on 2.8.3 and setting the orocos_target
through the environment for rtt client libraries (like OCL) does not work for
me.
The attached patch contains an ugly fix.
--Ruben
[Bug 826] Detection of orocos_target environment variable fails
http://bugs.orocos.org/show_bug.cgi?id=826
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Peter Soetens <peter [..] ...> 2011-03-01 11:43:13 CET ---
(In reply to comment #0)
> Hi,
>
> I'm on RTT/master using cmake versi on 2.8.3 and setting the orocos_target
> through the environment for rtt client libraries (like OCL) does not work for
> me.
> The attached patch contains an ugly fix.
I think there's no other way. The aternative is to set first :
set( OROCOS_TARGET $ENV{OROCOS_TARGET})
if ( NOT OROCOS_TARGET) ....
Identical on how we detect ROS_ROOT. The patch is fine actually.
Applied on toolchain-2.3.
Peter
[Bug 826] Detection of orocos_target environment variable fails
http://bugs.orocos.org/show_bug.cgi?id=826
--- Comment #2 from Ruben Smits <ruben [dot] smits [..] ...> 2011-03-01 09:03:27 CET ---
Created attachment 650
--> http://bugs.orocos.org/attachment.cgi?id=650
patch
Apparently the patch got lost the previous time
[Bug 826] Detection of orocos_target environment variable fails
http://bugs.orocos.org/show_bug.cgi?id=826
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter [..] ...
--- Comment #1 from Peter Soetens <peter [..] ...> 2011-02-28 23:43:44 CET ---
(In reply to comment #0)
> Hi,
>
> I'm on RTT/master using cmake versi on 2.8.3 and setting the orocos_target
> through the environment for rtt client libraries (like OCL) does not work for
> me.
> The attached patch contains an ugly fix.
>
> --Ruben
Did you have trouble posting the patch/attachment ? It's not there.
Peter