Hi.
First, as i'am a new OROCOS user, let me introduce myself. My name is Paul Chavent, i leave in France at Toulouse, i work at the ONERA. I'am an advanced embedded c programmer. I'am an Intermediate c++ programmer. I have some good skills in linux systems.
Now, my questions.
The doc for installing rtt says that libboost is required.
The sources seems to use boost too.
But when i do 'ldd' on the libs, for example :
user@compas:~/work/install/lib$ ldd liborocos-rtt-gnulinux.so
linux-gate.so.1 => (0x0063d000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00110000) librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00129000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00132000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00224000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0025a000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00356000) /lib/ld-linux.so.2 (0x00339000)there isn't any deps to boost.
So, my question are :
- is there only dependence to inlines, templates, or others c++ stuff that generate code when the lib is compiled ? - do we need to cross compile boost ?Thank for your comments.
Regards.
Paul.
ldd and libboost
On Tue, Nov 10, 2009 at 15:59, <paul [dot] chavent [..] ...> wrote:
> Hi.
>
> First, as i'am a new OROCOS user, let me introduce myself.
> My name is Paul Chavent, i leave in France at Toulouse, i work at the ONERA.
> I'am an advanced embedded c programmer.
> I'am an Intermediate c++ programmer.
> I have some good skills in linux systems.
>
> Now, my questions.
>
>
> The doc for installing rtt says that libboost is required.
>
> The sources seems to use boost too.
>
> But when i do 'ldd' on the libs, for example :
>
> user@compas:~/work/install/lib$ ldd liborocos-rtt-gnulinux.so
> linux-gate.so.1 => (0x0063d000)
> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00110000)
> librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00129000)
> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00132000)
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00224000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0025a000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00356000)
> /lib/ld-linux.so.2 (0x00339000)
>
> there isn't any deps to boost.
>
> So, my question are :
> - is there only dependence to inlines, templates, or others c++ stuff that generate code when the lib is compiled ?
Normally yes, but it depends on your configuration. You might depend
on libboost-thread too (you may opt to use Boost's thread library in
cmake). The unit tests depend on the libboost_unit_test_framework.
The 2.0 release will also depend on the serialization and program options libs.
> - do we need to cross compile boost ?
In RTT 1.x, only for the unit tests. OCL 1.x depends on program
options and some other non-boost libraries too.
Peter
ldd and libboost
Thank you Peter. Your answer helps me.
Can i suppose that when i use a release, i don't need to compile unit test ? What are recommendations for compiling and running these test ?
ldd and libboost
Thank you Peter. Your answer helps me.
Can i suppose that when i use a release, i don't need to compile unit test ? What are recommendations for compiling and running these test ?
ldd and libboost
A Dimarts 10 Novembre 2009, paul [dot] chavent [..] ... va escriure:
[...]
> there isn't any deps to boost.
>
> So, my question are :
> - is there only dependence to inlines, templates, or others c++ stuff that
> generate code when the lib is compiled ?
AFAIK the big part of boost are inlines and templates (.h) files, so no link
symbols will you find.
> - do we need to cross compile boost ?
I don't think so, but I'm not a cross compile user for orocos.
Regards,
Leo
ldd and libboost
Hi.
First, as i'am a new OROCOS user, let me introduce myself.
My name is Paul Chavent, i leave in France at Toulouse, i work at the ONERA.
I'am an advanced embedded c programmer.
I'am an Intermediate c++ programmer.
I have some good skills in linux systems.
Now, my questions.
The doc for installing rtt says that libboost is required.
The sources seems to use boost too.
But when i do 'ldd' on the libs, for example :
user@compas:~/work/install/lib$ ldd liborocos-rtt-gnulinux.so
linux-gate.so.1 => (0x0063d000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00110000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x00129000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00132000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00224000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0025a000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x00356000)
/lib/ld-linux.so.2 (0x00339000)
there isn't any deps to boost.
So, my question are :
- is there only dependence to inlines, templates, or others c++ stuff that generate code when the lib is compiled ?
- do we need to cross compile boost ?
Thank for your comments.
Regards.
Paul.