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

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] rospack namespace clash due to TinyXML?
Hi Leif,

That does sound like undesired behavior. Could you file a ticket with your
patch and we can apply it so if you update it will still work. Use the ros
project on code.ros.org, if you don't have an account you can create one.

Tully
On Dec 10, 2010 2:13 AM, "Leif Christensen" <>
wrote:
>
> 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
>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users