Hi,
why all is so complicate?
Probably it's late, and my day has not easy. But really, to try to learn to
use orocos toolchain is something like to climb the Col du Tourmalet.
My installation of rtt-toolchain is in /usr/local/orocos
in the rtt-exercises/helloworld if I do:
export RTT_COMPONENT_PATH=/usr/local/orocos/lib
and after :
deployer-gnulinux -s helloworld.xml -linfo
I got this errors:
0.029 [ Info ][Logger] RTT_COMPONENT_PATH was set to /usr/local/orocos/lib
0.071 [ Info ][Thread] Creating Thread for scheduler: 0
0.105 [ Info ][Deployer] Thread created with scheduler type '0', priority 0
and period 0.
0.138 [ Info ][Thread] Creating Thread for scheduler: 0
0.163 [ Info ][GlobalEngine] Thread created with scheduler type '0',
priority 0 and period 0.
0.205 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set
to /usr/local/orocos/lib
0.246 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and
components...
0.288 [ Info ][DeploymentComponent::configure] Importing component libraries
from directory /usr/local/orocos/lib ...
0.330 [ ERROR ][DeploymentComponent::configure]
Unloading /usr/local/orocos/lib/liborocos-deployment-gnulinux.so: not a valid
component library:
0.371 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-deployment-gnulinux.so.2.1:
undefined symbol: createComponent
0.412 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-deployment-gnulinux.so.2.1:
undefined symbol: getComponentType
0.454 [ ERROR ][DeploymentComponent::configure]
Unloading /usr/local/orocos/lib/liborocos-rtt-mqueue-gnulinux.so: not a valid
component library:
0.487 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-rtt-mqueue-gnulinux.so:
undefined symbol: createComponent
0.521 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-rtt-mqueue-gnulinux.so:
undefined symbol: getComponentType
0.572 [ ERROR ][DeploymentComponent::configure]
Unloading /usr/local/orocos/lib/liborocos-rtt-corba-gnulinux.so: not a valid
component library:
0.604 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-rtt-corba-gnulinux.so:
undefined symbol: createComponent
0.645 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-rtt-corba-gnulinux.so:
undefined symbol: getComponentType
0.685 [ ERROR ][DeploymentComponent::configure]
Unloading /usr/local/orocos/lib/libutilmm.so: not a valid component library:
0.712 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/libutilmm.so:
undefined symbol: createComponent
0.737 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/libutilmm.so:
undefined symbol: getComponentType
0.762 [ ERROR ][DeploymentComponent::configure]
Unloading /usr/local/orocos/lib/liborocos-taskbrowser-gnulinux.so: not a
valid component library:
0.787 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-taskbrowser-gnulinux.so.2.1:
undefined symbol: createComponent
0.820 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-taskbrowser-gnulinux.so.2.1:
undefined symbol: getComponentType
0.874 [ ERROR ][DeploymentComponent::configure]
Unloading /usr/local/orocos/lib/liborocos-deployment-corba-gnulinux.so: not a
valid component library:
0.904 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-deployment-corba-gnulinux.so:
undefined symbol: createComponent
0.928 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-deployment-corba-gnulinux.so:
undefined symbol: getComponentType
0.962 [ ERROR ][DeploymentComponent::configure]
Unloading /usr/local/orocos/lib/libtypeLib.so: not a valid component library:
0.987 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/libtypeLib.so:
undefined symbol: createComponent
1.012 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/libtypeLib.so:
undefined symbol: getComponentType
1.037 [ ERROR ][DeploymentComponent::configure]
Unloading /usr/local/orocos/lib/liborocos-rtt-gnulinux.so: not a valid
component library:
1.070 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-rtt-gnulinux.so.2.1:
undefined symbol: createComponent
1.103 [ ERROR ]
[DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-rtt-gnulinux.so.2.1:
undefined symbol: getComponentType
1.129 [ Info ][DeploymentComponent::loadComponents]
Loading 'helloworld.xml'.
1.157 [ Info ][DeploymentComponent::loadComponents] Validating new
configuration...
1.178 [ ERROR ][TypeInfoName] Can not compose unknown_t.
1.203 [ ERROR ][DeploymentComponent::loadComponent] Unable to create Orocos
Component 'OCL::HelloWorld': unknown component type.
1.228 [ Warning][DeploymentComponent::loadComponents] Could not
configure 'HelloWorld': No such peer.
1.253 [ ERROR ][Logger] Failed to load a component: aborting kick-start.
1.278 [ Info ][Thread] Creating Thread for scheduler: 0
1.303 [ Info ][TaskBrowser] Thread created with scheduler type '0', priority
0 and period 0.
Switched to : Deployer
1.337 [ Info ][Logger] Entering Task Deployer
This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)
TAB completion and HISTORY is available ('bash' like)
what's wrong?
Regards,
Leo
Unloading /usr/local/orocos/lib/liborocos-deployment-gnulinux.so
On Thu, Nov 11, 2010 at 7:25 PM, Leopold Palomo-Avellaneda
<leopold [dot] palomo [..] ...> wrote:
> Hi,
>
> why all is so complicate?
>
> Probably it's late, and my day has not easy. But really, to try to learn to
> use orocos toolchain is something like to climb the Col du Tourmalet.
>
> My installation of rtt-toolchain is in /usr/local/orocos
>
> in the rtt-exercises/helloworld if I do:
>
> export RTT_COMPONENT_PATH=/usr/local/orocos/lib
Is there a single component in that directory ? There isn't, there are
only libraries in there.
The components are in /usr/local/orocos/lib/orocos
I must admit this is underdocumented...
Peter
Unloading /usr/local/orocos/lib/liborocos-deployment-gnulinux.so
A Dijous 11 Novembre 2010, Peter Soetens va escriure:
> On Thu, Nov 11, 2010 at 7:25 PM, Leopold Palomo-Avellaneda
>
> <leopold [dot] palomo [..] ...> wrote:
> > Hi,
> >
> > why all is so complicate?
> >
> > Probably it's late, and my day has not easy. But really, to try to learn
> > to use orocos toolchain is something like to climb the Col du Tourmalet.
> >
> > My installation of rtt-toolchain is in /usr/local/orocos
> >
> > in the rtt-exercises/helloworld if I do:
> >
> > export RTT_COMPONENT_PATH=/usr/local/orocos/lib
>
> Is there a single component in that directory ?
it's the installation default directory ....
> There isn't, there are
> only libraries in there.
> The components are in /usr/local/orocos/lib/orocos
>
> I must admit this is underdocumented...
Well, and I think that sometimes the information is a bit dispersed ....
--
--
Leopold Palomo-Avellaneda <leopold [dot] palomo [..] ...>
Institut d'Organització i Control de Sistemes Industrials
Universitat Politècnica de Catalunya
Avda. Diagonal 647, pl. 11
08028 BARCELONA (Spain)
Tel. +34-934017163
Fax. +34-934016605
--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
Unloading /usr/local/orocos/lib/liborocos-deployment-gnulinux.so
Hi,
Find were liborocos-helloworld-gnulinux.so is install, that may look like /usr/local/lib/orocos. Provide this path in the RTT_COMPONENT_PATH. The Deployer load all the .so files in the folder provide in RTT_COMPONENT_PATH. Because the .so file you load doesn't contain the macro ORO_CREATE_COMPONENT(), the deployer can't load the dynamic libraries.
Your aborting kick-start is cause because HelloWorld component isn't a know component and not because /usr/local/orocos/lib/liborocos-deployment-gnulinux.so: not a valid component.
I hope this will help you!
Michaël
> -----Message d'origine-----
> De : orocos-users-bounces [..] ... [mailto:orocos-users-
> bounces [..] ...] De la part de Leopold Palomo-Avellaneda
> Envoyé : 11 novembre 2010 13:25
> À : orocos-users [..] ...
> Objet : [Orocos-users] Unloading /usr/local/orocos/lib/liborocos-
> deployment-gnulinux.so: not a valid component library
>
> Hi,
>
> why all is so complicate?
>
> Probably it's late, and my day has not easy. But really, to try to
> learn to
> use orocos toolchain is something like to climb the Col du Tourmalet.
>
> My installation of rtt-toolchain is in /usr/local/orocos
>
> in the rtt-exercises/helloworld if I do:
>
> export RTT_COMPONENT_PATH=/usr/local/orocos/lib
>
> and after :
>
> deployer-gnulinux -s helloworld.xml -linfo
>
> I got this errors:
>
>
> 0.029 [ Info ][Logger] RTT_COMPONENT_PATH was set to
> /usr/local/orocos/lib
> 0.071 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.105 [ Info ][Deployer] Thread created with scheduler type '0',
> priority 0
> and period 0.
> 0.138 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.163 [ Info ][GlobalEngine] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.205 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was
> set
> to /usr/local/orocos/lib
> 0.246 [ Info ][DeploymentComponent::configure] Re-scanning for
> plugins and
> components...
> 0.288 [ Info ][DeploymentComponent::configure] Importing component
> libraries
> from directory /usr/local/orocos/lib ...
> 0.330 [ ERROR ][DeploymentComponent::configure]
> Unloading /usr/local/orocos/lib/liborocos-deployment-gnulinux.so: not a
> valid
> component library:
> 0.371 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> deployment-gnulinux.so.2.1:
> undefined symbol: createComponent
> 0.412 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> deployment-gnulinux.so.2.1:
> undefined symbol: getComponentType
> 0.454 [ ERROR ][DeploymentComponent::configure]
> Unloading /usr/local/orocos/lib/liborocos-rtt-mqueue-gnulinux.so: not a
> valid
> component library:
> 0.487 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> rtt-mqueue-gnulinux.so:
> undefined symbol: createComponent
> 0.521 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> rtt-mqueue-gnulinux.so:
> undefined symbol: getComponentType
> 0.572 [ ERROR ][DeploymentComponent::configure]
> Unloading /usr/local/orocos/lib/liborocos-rtt-corba-gnulinux.so: not a
> valid
> component library:
> 0.604 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> rtt-corba-gnulinux.so:
> undefined symbol: createComponent
> 0.645 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> rtt-corba-gnulinux.so:
> undefined symbol: getComponentType
> 0.685 [ ERROR ][DeploymentComponent::configure]
> Unloading /usr/local/orocos/lib/libutilmm.so: not a valid component
> library:
> 0.712 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/libutilmm.so:
> undefined symbol: createComponent
> 0.737 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/libutilmm.so:
> undefined symbol: getComponentType
> 0.762 [ ERROR ][DeploymentComponent::configure]
> Unloading /usr/local/orocos/lib/liborocos-taskbrowser-gnulinux.so: not
> a
> valid component library:
> 0.787 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> taskbrowser-gnulinux.so.2.1:
> undefined symbol: createComponent
> 0.820 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> taskbrowser-gnulinux.so.2.1:
> undefined symbol: getComponentType
> 0.874 [ ERROR ][DeploymentComponent::configure]
> Unloading /usr/local/orocos/lib/liborocos-deployment-corba-gnulinux.so:
> not a
> valid component library:
> 0.904 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> deployment-corba-gnulinux.so:
> undefined symbol: createComponent
> 0.928 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> deployment-corba-gnulinux.so:
> undefined symbol: getComponentType
> 0.962 [ ERROR ][DeploymentComponent::configure]
> Unloading /usr/local/orocos/lib/libtypeLib.so: not a valid component
> library:
> 0.987 [ ERROR ]
> [DeploymentComponent::configure]
> /usr/local/orocos/lib/libtypeLib.so:
> undefined symbol: createComponent
> 1.012 [ ERROR ]
> [DeploymentComponent::configure]
> /usr/local/orocos/lib/libtypeLib.so:
> undefined symbol: getComponentType
> 1.037 [ ERROR ][DeploymentComponent::configure]
> Unloading /usr/local/orocos/lib/liborocos-rtt-gnulinux.so: not a valid
> component library:
> 1.070 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> rtt-gnulinux.so.2.1:
> undefined symbol: createComponent
> 1.103 [ ERROR ]
> [DeploymentComponent::configure] /usr/local/orocos/lib/liborocos-
> rtt-gnulinux.so.2.1:
> undefined symbol: getComponentType
> 1.129 [ Info ][DeploymentComponent::loadComponents]
> Loading 'helloworld.xml'.
> 1.157 [ Info ][DeploymentComponent::loadComponents] Validating new
> configuration...
> 1.178 [ ERROR ][TypeInfoName] Can not compose unknown_t.
> 1.203 [ ERROR ][DeploymentComponent::loadComponent] Unable to create
> Orocos
> Component 'OCL::HelloWorld': unknown component type.
> 1.228 [ Warning][DeploymentComponent::loadComponents] Could not
> configure 'HelloWorld': No such peer.
> 1.253 [ ERROR ][Logger] Failed to load a component: aborting kick-
> start.
> 1.278 [ Info ][Thread] Creating Thread for scheduler: 0
> 1.303 [ Info ][TaskBrowser] Thread created with scheduler type '0',
> priority
> 0 and period 0.
> Switched to : Deployer
> 1.337 [ Info ][Logger] Entering Task Deployer
>
> This console reader allows you to browse and manipulate TaskContexts.
> You can type in an operation, expression, create or change variables.
> (type 'help' for instructions and 'ls' for context info)
>
> TAB completion and HISTORY is available ('bash' like)
>
>
> what's wrong?
>
> Regards,
>
> Leo
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users