Hi,
I'm trying to load a component with a xml file on deployer, but it doesn't work.
File:load.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM "cpf.dtd"> <properties> <simple name="Import" type="string"><value>.</value></simple> </properties>
I'm using the script below to add a nem path, same as import(".") command on deployer (that works), and I get this error:
diegos@twil:~/src/orocos/tmp/examples/AIC> deployer-gnulinux -s load.xml 0.009 [ ERROR ][DeploymentComponent::loadLibrary] Could not load library '': 0.010 [ ERROR ][DeploymentComponent::loadLibrary] .so: cannot open shared object file: No such file or directory 0.010 [ ERROR ][DeploymentComponent::loadLibrary] lib.so: cannot open shared object file: No such file or directory 0.010 [ ERROR ][DeploymentComponent::loadLibrary] /usr/lib/lib.so: cannot open shared object file: No such file or directory 0.010 [ ERROR ][DeploymentComponent::loadLibrary] lib-gnulinux.so: cannot open shared object file: No such file or directory 0.010 [ ERROR ][DeploymentComponent::loadLibrary] /usr/lib/lib-gnulinux.so: cannot open shared object file: No such file or directory 0.010 [ ERROR ][deployer-gnulinux::main()] Failed to load a component: aborting kick-start. Switched to : Deployer This console reader allows you to browse and manipulate TaskContexts. You can type in a command, event, method, expression or change variables. (type 'help' for instructions) TAB completion and HISTORY is available ('bash' like) In Task Deployer[S]. (Status of last Command : none ) (type 'ls' for context info) :loadComponent("aic01","OCL::AIC") Got :loadComponent("aic01","OCL::AIC") 17.645 [ ERROR ][DeploymentComponent::loadComponent] Unable to locate Orocos plugin 'OCL::AIC': unknown component type. = false In Task Deployer[S]. (Status of last Command : none ) (type 'ls' for context info) :import(".") Got :import(".") = true In Task Deployer[S]. (Status of last Command : none ) (type 'ls' for context info) :loadComponent("aic01","OCL::AIC") Got :loadComponent("aic01","OCL::AIC") 68.583 [ Info ][DeploymentComponent::loadComponent] AIC manually raises LogLevel to 'Info' (5). See also file 'orocos.log'. 68.583 [ Info ][DeploymentComponent::loadComponent] Adding aic01 as new peer: OK. = true
Any ideia???
Thanks!
Solved
If someone has this problem, just check the version of xerces-c. I was with xerces-c-3.0.1, when I changed to xerces-c-2.6 the problem is gone!
Santini