[Bug 761] New: order of includes in deployer.xml does matter

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=761

Summary: order of includes in deployer.xml does matter
Product: OCL
Version: 1.10.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Deployment
AssignedTo: orocos-dev [..] ...
ReportedBy: dominick [dot] vanthienen [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

hi

I tried to include two libraries, the first (librobotis-vision.so) is a
component list, the second a single component.
If I first include the single component, it doesn't work but I include the list
first it works!

nick

the includes as it works:
<simple name="Import"
type="string"><value>kul-ros-pkg/robotis_vision/build/librobotis-vision.so<value><simple>
<simple name="Import"
type="string"><value>lib/liborocosVispLineTracker<value><simple>

the error:
0.064 [ Info ][DeploymentComponent::loadLibrary] Loaded RTT Plugin
'VisionToolkit'
0.064 [ Debug ][DeploymentComponent::import] Importing
kul-ros-pkg/robotis_vision/build/librobotis-vision.so
0.073 [ Debug ][DeploymentComponent::loadLibrary] Succesfully loaded
robotis-vision
0.073 [ Info ][DeploymentComponent::loadLibrary] Loaded multi component
library 'kul-ros-pkg/robotis_vision/build/librobotis-vision.so'
0.073 [ Debug ][DeploymentComponent::loadLibrary] Components:
0.073 [ Debug ][DeploymentComponent::loadLibrary]
/home/u0065688/src/svn/robotics-ros/packages/ros/..//kul-ros-pkg/robotis_vision/build/librobotis-vision.so:
undefined symbol: createComponent
0.073 [ Debug ][Toolkit] Tool VisionToolkit already loaded.
0.073 [ Info ][DeploymentComponent::loadLibrary] Loaded RTT Plugin
'VisionToolkit'
0.073 [ Debug ][updateProperty] updateProperties: created Property bool
AutoStart.
0.073 [ Debug ][updateProperty] Found Property 'Deployer': update done.
0.073 [ ERROR ][DeploymentComponent::loadComponent] Unable to locate Orocos
plugin 'RoboTIS::Vision::OpenCVCamera': unknown component type.

[Bug 761] New: order of includes in deployer.xml does matter

On Apr 26, 2010, at 04:51 , nick vanthienen wrote:

> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=761
>
> Summary: order of includes in deployer.xml does matter
> Product: OCL
> Version: 1.10.0
> Platform: All
> OS/Version: All
> Status: NEW
> Severity: normal
> Priority: P3
> Component: Deployment
> AssignedTo: orocos-dev [..] ...
> ReportedBy: dominick [dot] vanthienen [..] ...
> CC: orocos-dev [..] ...
> Estimated Hours: 0.0
>
>
> hi
>
> I tried to include two libraries, the first (librobotis-vision.so) is a
> component list, the second a single component.
> If I first include the single component, it doesn't work but I include the list
> first it works!
>
> nick
>
> the includes as it works:
> <simple name="Import"
> type="string"><value>kul-ros-pkg/robotis_vision/build/librobotis-vision.so<value><simple>
> <simple name="Import"
> type="string"><value>lib/liborocosVispLineTracker<value><simple>
>
> the error:
> 0.064 [ Info ][DeploymentComponent::loadLibrary] Loaded RTT Plugin
> 'VisionToolkit'
> 0.064 [ Debug ][DeploymentComponent::import] Importing
> kul-ros-pkg/robotis_vision/build/librobotis-vision.so
> 0.073 [ Debug ][DeploymentComponent::loadLibrary] Succesfully loaded
> robotis-vision
> 0.073 [ Info ][DeploymentComponent::loadLibrary] Loaded multi component
> library 'kul-ros-pkg/robotis_vision/build/librobotis-vision.so'
> 0.073 [ Debug ][DeploymentComponent::loadLibrary] Components:
> 0.073 [ Debug ][DeploymentComponent::loadLibrary]
> /home/u0065688/src/svn/robotics-ros/packages/ros/..//kul-ros-pkg/robotis_vision/build/librobotis-vision.so:
> undefined symbol: createComponent
> 0.073 [ Debug ][Toolkit] Tool VisionToolkit already loaded.
> 0.073 [ Info ][DeploymentComponent::loadLibrary] Loaded RTT Plugin
> 'VisionToolkit'
> 0.073 [ Debug ][updateProperty] updateProperties: created Property bool
> AutoStart.
> 0.073 [ Debug ][updateProperty] Found Property 'Deployer': update done.
> 0.073 [ ERROR ][DeploymentComponent::loadComponent] Unable to locate Orocos
> plugin 'RoboTIS::Vision::OpenCVCamera': unknown component type.

What operating system is this? Linux? What are the dependencies of the two libraries in question?

Yes, the sequence of includes will matter in the deployer.
Stephen

[Bug 761] New: order of includes in deployer.xml does matter

S Roderick wrote:
> On Apr 26, 2010, at 04:51 , nick vanthienen wrote:
>
>
>> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=761
>>
>> Summary: order of includes in deployer.xml does matter
>> Product: OCL
>> Version: 1.10.0
>> Platform: All
>> OS/Version: All
>> Status: NEW
>> Severity: normal
>> Priority: P3
>> Component: Deployment
>> AssignedTo: orocos-dev [..] ...
>> ReportedBy: dominick [dot] vanthienen [..] ...
>> CC: orocos-dev [..] ...
>> Estimated Hours: 0.0
>>
>>
>> hi
>>
>> I tried to include two libraries, the first (librobotis-vision.so) is a
>> component list, the second a single component.
>> If I first include the single component, it doesn't work but I include the list
>> first it works!
>>
>> nick
>>
>> the includes as it works:
>> <simple name="Import"
>> type="string"><value>kul-ros-pkg/robotis_vision/build/librobotis-vision.so<value><simple>
>> <simple name="Import"
>> type="string"><value>lib/liborocosVispLineTracker<value><simple>
>>
>> the error:
>> 0.064 [ Info ][DeploymentComponent::loadLibrary] Loaded RTT Plugin
>> 'VisionToolkit'
>> 0.064 [ Debug ][DeploymentComponent::import] Importing
>> kul-ros-pkg/robotis_vision/build/librobotis-vision.so
>> 0.073 [ Debug ][DeploymentComponent::loadLibrary] Succesfully loaded
>> robotis-vision
>> 0.073 [ Info ][DeploymentComponent::loadLibrary] Loaded multi component
>> library 'kul-ros-pkg/robotis_vision/build/librobotis-vision.so'
>> 0.073 [ Debug ][DeploymentComponent::loadLibrary] Components:
>> 0.073 [ Debug ][DeploymentComponent::loadLibrary]
>> /home/u0065688/src/svn/robotics-ros/packages/ros/..//kul-ros-pkg/robotis_vision/build/librobotis-vision.so:
>> undefined symbol: createComponent
>> 0.073 [ Debug ][Toolkit] Tool VisionToolkit already loaded.
>> 0.073 [ Info ][DeploymentComponent::loadLibrary] Loaded RTT Plugin
>> 'VisionToolkit'
>> 0.073 [ Debug ][updateProperty] updateProperties: created Property bool
>> AutoStart.
>> 0.073 [ Debug ][updateProperty] Found Property 'Deployer': update done.
>> 0.073 [ ERROR ][DeploymentComponent::loadComponent] Unable to locate Orocos
>> plugin 'RoboTIS::Vision::OpenCVCamera': unknown component type.
>>
>
> What operating system is this? Linux? What are the dependencies of the two libraries in question?
>
> Yes, the sequence of includes will matter in the deployer.
> Stephen
>
indead I'm using linux: ubuntu 9.10 (karmic)

dependencies for librobotis-vision.so
--------------------------------------------------------------
linux-gate.so.1 => (0xb7809000)
liborocos-rtt-gnulinux.so.1.10 =>
/home/u0065688/src/svn/robotics-ros/packages/orocos/rtt/rtt-1.10/rtt/lib/liborocos-rtt-gnulinux.so.1.10
(0xb69b9000)
liborocos-rtt-corba-gnulinux.so.1.10 =>
/home/u0065688/src/svn/robotics-ros/packages/orocos/rtt/rtt-1.10/rtt/lib/liborocos-rtt-corba-gnulinux.so.1.10
(0xb6745000)
libcv.so.2.0 =>
/home/u0065688/src/svn/robotics-ros/packages/robotics-pkgs/vision_opencv2/opencv2/opencv/lib/libcv.so.2.0
(0xb648a000)
libcxcore.so.2.0 =>
/home/u0065688/src/svn/robotics-ros/packages/robotics-pkgs/vision_opencv2/opencv2/opencv/lib/libcxcore.so.2.0
(0xb621d000)
libcvaux.so.2.0 =>
/home/u0065688/src/svn/robotics-ros/packages/robotics-pkgs/vision_opencv2/opencv2/opencv/lib/libcvaux.so.2.0
(0xb6104000)
libhighgui.so.2.0 =>
/home/u0065688/src/svn/robotics-ros/packages/robotics-pkgs/vision_opencv2/opencv2/opencv/lib/libhighgui.so.2.0
(0xb60c7000)
libboost_filesystem.so.1.40.0 => /usr/lib/libboost_filesystem.so.1.40.0
(0xb6097000)
libboost_program_options.so.1.40.0 =>
/usr/lib/libboost_program_options.so.1.40.0 (0xb6050000)
libdc1394.so.22 => /usr/lib/libdc1394.so.22 (0xb5fdd000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb5eeb000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb5ec5000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb5ea6000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb5d61000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb5d48000)
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb5d3f000)
libomniORB4.so.1 => /usr/lib/libomniORB4.so.1 (0xb5bb8000)
libomniDynamic4.so.1 => /usr/lib/libomniDynamic4.so.1 (0xb5977000)
libomnithread.so.3 => /usr/lib/libomnithread.so.3 (0xb5970000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb596c000)
libml.so.2.0 =>
/home/u0065688/src/svn/robotics-ros/packages/robotics-pkgs/vision_opencv2/opencv2/opencv/lib/libml.so.2.0
(0xb590a000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb58e6000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb58c0000)
libz.so.1 => /lib/libz.so.1 (0xb58aa000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb5851000)
libjasper.so.1 => /usr/lib/libjasper.so.1 (0xb57fe000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb543d000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb53a8000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb538a000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb5361000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb5347000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb533a000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb52a4000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb5229000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb51e1000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb5162000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb5135000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb50f7000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb50f1000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb503a000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb5034000)
libboost_system.so.1.40.0 => /usr/lib/libboost_system.so.1.40.0 (0xb502f000)
libraw1394.so.11 => /usr/lib/libraw1394.so.11 (0xb501f000)
/lib/ld-linux.so.2 (0xb780a000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb4eef000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb4eeb000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb4ee8000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb4ee2000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb4ed2000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb4ec7000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb4ec4000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xb4eb9000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb4eb0000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb4ea5000)
libpcre.so.3 => /lib/libpcre.so.3 (0xb4e73000)
libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb4e5f000)
libselinux.so.1 => /lib/libselinux.so.1 (0xb4e44000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb4dfd000)
libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0xb4d83000)
libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0xb4d78000)
libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0xb4d60000)
libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xb4d5b000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb4d52000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb4d34000)
libexpat.so.1 => /lib/libexpat.so.1 (0xb4d0c000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb4d08000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb4d03000)

dependencies for liborocosVispLineTracker.so