You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the generated library were to include the utility library, then at the build time of the generated library the visibility macros in the headers of the utility library would incorrectly say dllexport, meaning the generated library would be built as if the utility library's symbols also lived inside the generated library and need to be exported.
To fix this, the generated library should have its own visibility header and macro.
The text was updated successfully, but these errors were encountered:
The package
rosidl_typesupport_cpp
ships with a utility library calledrosidl_typesupport_cpp
which uses the preprocessor definitionROSIDL_TYPESUPPORT_CPP_BUILDING_DLL
to control dllimport/dllexport on Windows.However, when a package generates a library for ROS messages, the
rosidl_typesupport_cpp
generator also generates a package specific library which also usesROSIDL_TYPESUPPORT_CPP_BUILDING_DLL
as the preprocessor definition for it's visibility macros.If the generated library were to include the utility library, then at the build time of the generated library the visibility macros in the headers of the utility library would incorrectly say
dllexport
, meaning the generated library would be built as if the utility library's symbols also lived inside the generated library and need to be exported.To fix this, the generated library should have its own visibility header and macro.
The text was updated successfully, but these errors were encountered: