[Bug 602] New: BFL does not honor CMAKE directives for include and library paths

For more infomation about this bug, visit
Summary: BFL does not honor CMAKE directives for include and
library paths
Product: BFL
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: build system
AssignedTo: bfl [..] ...
ReportedBy: klaas [dot] gadeyne [..] ...
CC: bfl [..] ...
Estimated Hours: 0.0

See bug #533 (mac os x port for RTT/OCL for more details)

[patch provided by Stephen Roderick]

[Bug 602] BFL does not honor CMAKE directives for include and li

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=602>

--- Comment #9 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2009-03-10 08:54:14 ---
Thx for the patch. However I already did something similar in r30025 (should
have mentioned the revision number probably to make this clear) and closed the
bug. Is my version ok too?

[Bug 602] BFL does not honor CMAKE directives for include and li

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=602>

--- Comment #8 from Wim Meeussen <meeussen [..] ...> 2009-03-10 02:11:44 ---
Created an attachment (id=392)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=392)
doc patch

doc patch

[Bug 602] BFL does not honor CMAKE directives for include and li

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=602>

Klaas Gadeyne <klaas [dot] gadeyne [..] ...> changed:

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

--- Comment #7 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2009-03-07 17:50:53 ---
Added some sparse documentation to the installation manual (didn't run tex).
BTW, the variable in the previous comment should end in _PATH instead of _DIR

[Bug 602] BFL does not honor CMAKE directives for include and li

For more infomation about this bug, visit

--- Comment #6 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2008-12-10 09:51:42 ---
(In reply to comment #5)
> This new CMake patch broke our ROS build :-) In the past I used the variable
> MATRIX_INSTALL to tell cmake where to go look for boost. But with the new
> patch, there seems to be no more way to tell cmake where to look. I'll reopen
> this bug for now.

Yes there is. We now (just as we recently changed for RTT/OCL) use the
standard (and portable across different OS-es) cmake practice of using
environment variables. E.g. for mac os x with fink (boost software installed
in /sw, I do

export CMAKE_INCLUDE_DIR=/sw/include
export CMAKE_LIBRARY_DIR=/sw/lib
mkdir build && cd build && ccmake ..

If you need more info, please check bug #533, regarding the mac os x port of
RTT/OCL.

However, I think we might need to change the installation tutorial too with
this information, so I leave this one reopened until I (or even better: you,
since you get paid for it ;-) checked that!

[Bug 602] BFL does not honor CMAKE directives for include and li

For more infomation about this bug, visit

Wim Meeussen <meeussen [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
CC| |meeussen [..] ...

--- Comment #5 from Wim Meeussen <meeussen [..] ...> 2008-12-10 06:46:35 ---
This new CMake patch broke our ROS build :-) In the past I used the variable
MATRIX_INSTALL to tell cmake where to go look for boost. But with the new
patch, there seems to be no more way to tell cmake where to look. I'll reopen
this bug for now.

FIND_PATH(BOOST_FOUND boost/numeric/ublas/matrix.hpp )
IF ( BOOST_FOUND )
MESSAGE("-- Looking for Boost in ${MATRIX_INSTALL}/include/boost/numeric/ublas/
- found")
SET( MATRIX_INCLUDE "${MATRIX_INSTALL}/include/")
MESSAGE("-- Looking for Boost - found")
SET( MATRIX_INCLUDE "${BOOST_FOUND}")

[Bug 602] BFL does not honor CMAKE directives for include and li

For more infomation about this bug, visit

Klaas Gadeyne <klaas [dot] gadeyne [..] ...> changed:

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

--- Comment #4 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2008-12-09 20:23:16 ---
(In reply to comment #3)
> Tested on debian testing (+ginac, shared/static), boost and lti versions.
> Seems ok. Revealed error in [bfl] ltilib package though, see next bug :-)

Seems we've committed things which were less well tested before. As long as we
have no testfarm, this will have to do (Is this OK for you Tinne?)
Unfortunately, I committed Wim's fix for bug 604 in the same commit.

$ svn commit -m "fix bug #602: BFL does not honor CMAKE directives for include
and library paths. Patch by Stephen Roderick"
Sending CMakeLists.txt
Sending config/FindCppUnit.cmake
Sending config/FindGINAC.cmake
Sending config/FindMATRIX.cmake
Sending config/FindRNG.cmake
Sending src/filter/particlefilter.cpp
Transmitting file data ......
Committed revision 29787.

Please reopen this bug if the changes cause build errors for your setup...

[Bug 602] BFL does not honor CMAKE directives for include and li

For more infomation about this bug, visit

--- Comment #3 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2008-12-09 08:58:26 ---
Tested on debian testing (+ginac, shared/static), boost and lti versions.
Seems ok. Revealed error in [bfl] ltilib package though, see next bug :-)

[Bug 602] BFL does not honor CMAKE directives for include and li

For more infomation about this bug, visit

Klaas Gadeyne <klaas [dot] gadeyne [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Blocks| |585

[Bug 602] BFL does not honor CMAKE directives for include and li

For more infomation about this bug, visit

--- Comment #2 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2008-12-07 21:11:05 ---
(In reply to comment #1)
> Created an attachment (id=357)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=357) [details]
> Patch by S Roderick

Patch tested by S Roderick on Mac with boost in Macports, and Ubuntu with
boost.
Tested by Klaas on Mac (Tiger) with boost from fink.
Not reviewed the code yet.

[Bug 602] BFL does not honor CMAKE directives for include and li

For more infomation about this bug, visit

Klaas Gadeyne <klaas [dot] gadeyne [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|bfl [..] ... |klaas [dot] gadeyne [..] ...

--- Comment #1 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2008-12-07 21:09:09 ---
Created an attachment (id=357)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=357)
Patch by S Roderick