[Rock-dev] Deploying an Orogen component from the OCL Deployer

Charles Lesire-Cabaniols charles.lesire at gmail.com
Fri Nov 23 15:29:00 CET 2012


2012/11/23 Sylvain Joyeux <sylvain.joyeux at dfki.de>

> On 11/23/2012 02:53 PM, Charles Lesire-Cabaniols wrote:
>
>> Now, after rebuild everything, I still have the port_proxy related error,
>> but the message_producer libraries loads correctly.
>>
>> $ deployer-gnulinux 0.204 [ ERROR ][DeploymentComponent::**configure]
>> Could not load library '/home/lesire/work/rock/**
>> install/lib/orocos/libport_**proxy-tasks-gnulinux.so':
>> 0.204 [ ERROR  ][DeploymentComponent::**configure]
>> /home/lesire/work/rock/**install/lib/orocos/libport_**proxy-tasks-gnulinux.so:
>> undefined symbol: _ZN11omni_thread6init_tD1Ev
>> 0.387 [ ERROR  ][TypekitRepository::Import] A protocol with id 2 was
>> already added for type /message_driver/Message
>>    Switched to : Deployer
>>
>> The message_driver / message_procuder types are correctly loaded and
>> understood by the Deployer.
>>
>> However, all the basic RTT types are unknown:
>>
>> Deployer [S]> 3
>>  = (unknown_t)
>>
>> Deployer [S]> true
>>  = (unknown_t)
>>
> You did compile with "OCL compatibility" to ON, right ?
>

Yes. USE_OCL = true in my config.yml file.


>
> In principle, oroGen / typeGen does NOT touch the base types, only adds
> transports to them. So I don't really know what is going on. Could you have
> a look at how RTT got configured (cmake line in install/logs/rtt-configure.
> **log) and send that ?


cmake -DCMAKE_INSTALL_PREFIX=/home/lesire/work/rock/install
-DCMAKE_MODULE_PATH=/home/lesire/work/rock/base/types/cmake
-DDEFAULT_PLUGIN_PATH=/ -DBUILD_TESTING=OFF -DPLUGINS_ENABLE_SCRIPTING=ON
-DENABLE_CORBA=YES -DCORBA_IMPLEMENTATION=OMNIORB
-DCMAKE_BUILD_TYPE=Release -DOROCOS_TARGET=gnulinux
/home/lesire/work/rock/tools/rtt

IMO, the issue is that the deployer finds something in install/lib/orocos
(which is my RTT_COMPONENT_PATH), and then does not go to look at
install/lib/orocos/gnulinux, where the rtt typekit is. In another
'pure-orocos' install (i.e. without Rock), I have nothing directly in
install/lib/orocos. Libs are either in gnulinux/ or in types/.

A partial view of my install tree (built with Rock) is below:

$ tree install/lib/orocos/
install/lib/orocos/
├── gnulinux
│   ├── ocl
│   │   ├── liborocos-ocl-common-gnulinux.so ->
liborocos-ocl-common-gnulinux.so.2.3.2
│   │   ├── (...)
│   │   ├── plugins
│   │   │   ├── libos-gnulinux.so -> libos-gnulinux.so.2.3.2
│   │   │   ├── libos-gnulinux.so.2.3.2
│   │   │   ├── libprint-gnulinux.so -> libprint-gnulinux.so.2.3.2
│   │   │   └── libprint-gnulinux.so.2.3.2
│   │   └── types
│   │       ├── libocl-gnulinux.so -> libocl-gnulinux.so.2.3.2
│   │       └── libocl-gnulinux.so.2.3.2
│   ├── plugins
│   │   ├── librtt-marshalling-gnulinux.so ->
librtt-marshalling-gnulinux.so.2.5.0
│   │   ├── librtt-marshalling-gnulinux.so.2.5.0
│   │   ├── librtt-scripting-gnulinux.so ->
librtt-scripting-gnulinux.so.2.5.0
│   │   └── librtt-scripting-gnulinux.so.2.5.0
│   └── types
│       ├── (...)
│       ├── librtt-typekit-gnulinux.so -> librtt-typekit-gnulinux.so.2.5.0
│       └── librtt-typekit-gnulinux.so.2.5.0
├── liblogger-tasks-gnulinux.so
├── libmessage_producer-tasks-gnulinux.so
├── libport_proxy-tasks-gnulinux.so
├── libtransformer-tasks-gnulinux.so
└── types
    ├── libaggregator-transport-corba-gnulinux.so
    ├── libaggregator-transport-mqueue-gnulinux.so
    ├── libaggregator-transport-typelib-gnulinux.so
    ├── libaggregator-typekit-gnulinux.so
    ├── libbase-transport-corba-gnulinux.so
    ├── libbase-transport-mqueue-gnulinux.so
    ├── libbase-transport-typelib-gnulinux.so
    ├── libbase-typekit-gnulinux.so
    ├── liblogger-transport-corba-gnulinux.so
    ├── liblogger-transport-mqueue-gnulinux.so
    ├── liblogger-transport-typelib-gnulinux.so
    ├── liblogger-typekit-gnulinux.so
    ├── libmessage_producer-transport-corba-gnulinux.so
    ├── libmessage_producer-transport-mqueue-gnulinux.so
    ├── libmessage_producer-transport-typelib-gnulinux.so
    ├── libmessage_producer-typekit-gnulinux.so
    ├── libport_proxy-transport-corba-gnulinux.so
    ├── libport_proxy-transport-mqueue-gnulinux.so
    ├── libport_proxy-transport-typelib-gnulinux.so
    ├── libport_proxy-typekit-gnulinux.so
    ├── libtransformer-transport-corba-gnulinux.so
    ├── libtransformer-transport-mqueue-gnulinux.so
    ├── libtransformer-transport-typelib-gnulinux.so
    └── libtransformer-typekit-gnulinux.so



>
>
> --
> Sylvain Joyeux (Dr.Ing.)
> Senior Researcher
>
> Space & Security Robotics
> Underwater 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
> ------------------------------**------------------------------**
> -----------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20121123/a743a6f4/attachment.htm 


More information about the Rock-dev mailing list