Skip to content

[melodic] pass ROS_BUILD_SHARED_LIBS to use visibility control properly.#89

Merged
dirk-thomas merged 3 commits intoros-visualization:melodic-develfrom
seanyen:seanyen/patch-1
May 28, 2020
Merged

[melodic] pass ROS_BUILD_SHARED_LIBS to use visibility control properly.#89
dirk-thomas merged 3 commits intoros-visualization:melodic-develfrom
seanyen:seanyen/patch-1

Conversation

@seanyen
Copy link
Copy Markdown

@seanyen seanyen commented Mar 24, 2020

Many ROS packages adopt this visibility control header to make the packages Windows-compatible. And the visibility control is conditionally guarded by ROS_BUILD_SHARED_LIBS which is defined by catkin in CMake file.

However, for sip module, it is running its own Makefile generated by sip, and this important definition (ROS_BUILD_SHARED_LIBS) is not automatically inherited. In such case, when it is building the sip module and ROS visibility control headers are in use there, it doesn't use the expected visibility control code path.

@seanyen
Copy link
Copy Markdown
Author

seanyen commented Mar 24, 2020

@dirk-thomas This is ready for review and merge. Thanks!

@seanyen
Copy link
Copy Markdown
Author

seanyen commented Apr 9, 2020

@dirk-thomas Friendly ping.

@seanyen
Copy link
Copy Markdown
Author

seanyen commented May 12, 2020

@dirk-thomas Following up. Any feedback would be appreciated.

@dirk-thomas
Copy link
Copy Markdown
Contributor

Thanks for the patch.

@dirk-thomas dirk-thomas merged commit 3ccd1f2 into ros-visualization:melodic-devel May 28, 2020
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.

2 participants