Skip to content

Conversation

@traversaro
Copy link
Contributor

If BUILD_SHARED_LIBS or DATA_TAMER_BUILD_ROS options are enabled, the data_tamer_cpp package compiles a library, but does not expose any symbol on Windows, so if the CMake project is compiled on Windows, no import library .lib is actually generated.

On Linux and macOS, everything compiles fine as by default all the symbols are visible. We can achieve exactly the same behavior in Windows by setting to ON the CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS CMake variable, so this PR sets the CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS variable to ON, to ensure that the compilation works fine on Windows.

@facontidavide facontidavide merged commit eb17fee into PickNikRobotics:main Jul 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants