[Bug 466] OCL build system produces wrong .pc file

For more infomation about this bug, visit

--- Comment #1 from François Cauwe <francois [..] ...> 2007-12-13 21:46:02 ---
Created an attachment (id=165)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=165)
Patch

This is caused by the FindBFL.cmake script, I propose to hardcode the libs to
include in the FindBFL.cmake script, see patch.

[Bug 466] New: OCL build system produces wrong .pc file

For more infomation about this bug, visit
Summary: OCL build system produces wrong .pc file
Product: OCL
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Deployment
AssignedTo: orocos-dev [..] ...
ReportedBy: francois [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Created an attachment (id=164)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=164)
wrong .pc file

It produces the following line:

Libs: -L${libdir} \
-lorocos-deployment-gnulinux -lorocos-cartesian-gnulinux
-lorocos-naxes-gnulinux -lorocos-axes-gnulinux -lorocos-io-gnulinux
-lorocos-camera-gnulinux -lorocos-reporting-gnulinux -lorocos-timer-gnulinux
-lorocos-taskbrowser-gnulinux -lorocos-ocl-common-gnulinux
-lorocos-kdl -L/opt/usr/local/lib -L/opt/usr/local/lib -L/usr/lib/ltilib
-lorocos-bfl;ltir -L/opt/usr/local/lib -lcomedi -lncurses -lreadline

I think the part "-lorocos-bfl;ltir" is wrong and should be "-lorocos-bfl
-lltir".

[Bug 466] OCL build system produces wrong .pc file

For more infomation about this bug, visit

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

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

--- Comment #3 from Peter Soetens
<peter [dot] soetens [..] ...> 2008-02-05 10:57:55 ---
This was fixed on trunk/ocl.

------------------------------------------------------------------------
r28862 | psoetens | 2008-01-22 17:27:46 +0100 (di, 22 jan 2008) | 1 line

Fix bug #502: [OCL] Improve detection of KDL/BFL libraries.
------------------------------------------------------------------------

[Bug 466] OCL build system produces wrong .pc file

For more infomation about this bug, visit

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

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|orocos- |peter [dot] soetens [..] ...
|dev [..] ... |
Attachment #165 is|0 |1
obsolete| |

--- Comment #2 from Peter Soetens
<peter [dot] soetens [..] ...> 2007-12-21 18:19:06 ---
Created an attachment (id=175)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=175)
Cleaner solution to -l
bug

Instead of hardcoding, I updated the CMake macro that parsed the arguments in
the wrong way. This patch is cleaner and more robust across bfl/kdl versions.