[ros-users] rospack namespace clash due to TinyXML?

Leif Christensen leif.christensen at dfki.de
Fri Dec 10 10:13:26 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone,

recently I had a problem with a small camera trigger ros node. rosmake
was linking against rospack (-lrospack) and librospack seems to export
symbols from TinyXML without a special namespace, which then clashed
during runtime with another (shared) library, that I have to use and
which also uses TinyXML and exports the corresponding symbols.

Since I cannot change the shared lib, I wrapped namespaces around
tinyxml-2.5.3 under [...]/cturtle/ros/tools/rospack/tinyxml-2.5.3 and
changed the function calls accordingly.

Perhaps there is a better way to solve this namespace conflict and
someone can point me in the right direction?
The problem with my solution is, that it will be gone after the next
ros-update...

Greetings,
Leif

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0B/UYACgkQgrIQzq7NbhHX2ACfYRNG64F4xvvDJezs8nMqVCRT
n3UAoPDzQDv5eTVWHtZ/idtdQud6CAMz
=EbLW
-----END PGP SIGNATURE-----



More information about the ros-users mailing list