Linking of created plugins using pluginlib
Hi,
I have the similiar situation as http://answers.ros.org/question/26493... where I build a plugin where the base class is in another package. I noticed the upon loading the plugin I will get "undefined reference" errors if miss the line:
target_link_libraries(test_plugins ${catkin_LIBRARIES} ${PROJECT_NAME})
However I am still wondering if plugins have to be linked to all the ${catkin_LIBRARIES} of the project.
Does someone know if this is best practice? I noticed that it increases the shared object by factors.
May I suggest a title change? You're question is really more about linking when creating plugins, but your title does not reflect that at all.
You are right. Changed it.