Skip to content

Conversation

@traversaro
Copy link

@traversaro traversaro commented Jan 5, 2025

This package compiles several shared libraries, 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.

@traversaro
Copy link
Author

@JWhitleyWork if there is anything we can do to enable the merge of this PR, feel free to ask, thanks!

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.

1 participant