[Rock-dev] Using external libraries without *.pc in pkgconfig

Sylvain Joyeux sylvain.joyeux at dfki.de
Mon Jan 16 17:24:12 CET 2012


On 01/16/2012 04:37 PM, Thomas Roehr wrote:
>> I would like to use an external library, that is fetch from the
>> distributor side and than installed by calling make.
>> As there is no *.pc.in file included in the sources nor installed in the
>> 'pkgconfig' folder, the library cannot be found by orogen when building
>> components with 'using_library'.
>> Is there a way that such a library can be used without creating an own
>> *.pc file? If not, is there a way to install such a file afterwards?
> The pc file is required, thus you will have to create a patch.
Not entirely true.

The .pc file is required only if the package defines types that you want 
to put on the component interface. If it is not the case, replace the 
using_library mechanism by detecting the library manually using CMake in 
CMakeLists.txt and/or tasks/CMakeLists.txt.
-- 
Sylvain Joyeux (Dr.Ing.)
Space & Security Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax:   +49 (0)421 218-454150
E-Mail: robotik at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------


More information about the Rock-dev mailing list