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

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: User discussions
日付:  
To: ros-users
題目: [ros-users] rospack namespace clash due to TinyXML?
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