jhu-lcsr/rtt_gazebo — pull request #8 by meyerj (2013-11-03 14:37:12+00:00)
Title: Fixed dynamic linker errors when loading this plugin

I tried to use the rtt_gazebo_plugin and got the following error when I loaded a model in gazebo:
```
Error [Plugin.hh:127] Failed to load plugin librtt_gazebo_plugin.so: undefined symbol: _ZN11omni_thread6init_tD1Ev
```

I added a few more elements to the target_link_libraries() line in rtt_gazebo_plugin's `CMakeLists.txt` and the error vanished. Especially the `${USE_OROCOS_LIBRARIES}` part was missing after auto-linking has been disabled for catkin. Also note that `${OROCOS-RTT_LIBRARIES}` does not automatically aggregate all components mentioned in `find_package(OROCOS-RTT)`.

I am not sure if explicit linking to the rtt-transport-corba plugin is really required here. The missing symbol is defined in the orocos-rtt-corba library and its dependencies which is linked via the `orocos_use_package()` mechanism. At least the gazebo plugin can be compiled and loaded successfully without adding ´${OROCOS-RTT_RTT-TRANSPORT-CORBA_LIBRARY}´ to the linked libraries.