How to link analogy with

Hi,

On Tue, May 28, 2013 at 11:19 AM, <f [dot] hautbois [..] ...> wrote:

> Taking a CMake tutorial would be the thing to do ;)
> But in that particular case it kind of hard to figure out where to begin
> and
> what is or isn't possible (to me it feels like diving into the Linux kernel
> source before learning C++).
> I guess there are a lot of people who want to use Orocos but don't
> necessarily know CMake; for those people it would be nice to have sort of a
> tutorial in your already very good Orocos Component Manual, named "adding
> external libraries".
>

I think we have this, but it's located elsewhere:

http://www.orocos.org/wiki/orocos/toolchain/component-packages#toc93

Also check other pages under
http://www.orocos.org/wiki/orocos/toolchain/getting-started

Ruben

> That could be useful for people wanting to use OpenCV for example.
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Ruben Smits's picture

How to link analogy with

Hi Flavian,

(sending this to the list again)

On Tue, May 28, 2013 at 1:21 PM, Flavian Hautbois <f [dot] hautbois [..] ...>wrote:

> That's _exactly_ what I was looking for, thank you so much! The
> CMakeLists.txt file you're refering to is in the src package of a default
> orocos component.
>
> Did I miss it in the documentation you pointed out?
>
>
Yes ;), but that means that the documentation is not yet clear enough.

Ruben

> 2013/5/28 Ruben Smits <ruben [dot] smits [..] ...>
>
>> Hi Flavian,
>> On Tue, May 28, 2013 at 12:50 PM, Flavian Hautbois <f [dot] hautbois [..] ...
>> > wrote:
>>
>>> I don't see anything I don't know about on this page or related to the
>>> inclusion of external dependencies in an Orocos component; maybe I am
>>> missing your point though?
>>>
>>>
>> I thought you were looking for a way to tell cmake to link with external
>> libraries:
>> [page snippet]
>>
>> You may add a link instruction using the classical CMake syntax:
>>
>> orocos_component( mycomponent ComponentSource.cpp )
>> target_link_libraries( mycomponent -lfoobar )
>>
>> [/page snippet]
>>
>> But maybe that's not what you were looking for??
>>
>> Ruben
>>
>>
>>>
>>> 2013/5/28 Ruben Smits <ruben [dot] smits [..] ...>
>>>
>>>> Hi,
>>>>
>>>>
>>>> On Tue, May 28, 2013 at 11:19 AM, <f [dot] hautbois [..] ...> wrote:
>>>>
>>>>> Taking a CMake tutorial would be the thing to do ;)
>>>>> But in that particular case it kind of hard to figure out where to
>>>>> begin and
>>>>> what is or isn't possible (to me it feels like diving into the Linux
>>>>> kernel
>>>>> source before learning C++).
>>>>> I guess there are a lot of people who want to use Orocos but don't
>>>>> necessarily know CMake; for those people it would be nice to have sort
>>>>> of a
>>>>> tutorial in your already very good Orocos Component Manual, named
>>>>> "adding
>>>>> external libraries".
>>>>>
>>>>
>>>> I think we have this, but it's located elsewhere:
>>>>
>>>> http://www.orocos.org/wiki/orocos/toolchain/component-packages#toc93
>>>>
>>>> Also check other pages under
>>>> http://www.orocos.org/wiki/orocos/toolchain/getting-started
>>>>
>>>> Ruben
>>>>
>>>>
>>>>> That could be useful for people wanting to use OpenCV for example.
>>>>> --
>>>>> Orocos-Users mailing list
>>>>> Orocos-Users [..] ...
>>>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Ruben Smits, Phd
>>>> Chief Technology Officer
>>>> Intermodalics BVBA
>>>> +32479511786
>>>> www.intermodalics.eu
>>>>
>>>
>>>
>>>
>>> --
>>> F. Hautbois
>>>
>>
>>
>>
>> --
>> Ruben Smits, Phd
>> Chief Technology Officer
>> Intermodalics BVBA
>> +32479511786
>> www.intermodalics.eu
>>
>
>
>
> --
> F. Hautbois
>