ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

So, after struggling for days on this topic, I think I found the solution.
This problem is related to lib generation inside CMake for Windows DLL which is something weird for a Linux developer :)
In the second package CMakeLists.txt, I just added the following

set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)

This way, CMake generated both lib and defs files for my classes.
I was expecting a special catkin directive but I had to look on CMake side.

I hope this will help someone else.