-
Notifications
You must be signed in to change notification settings - Fork 610
[Windows] Plugin Support Not Exported #208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ah, right. I'll add an export macro and annotations, and turn on visibility hidden for Linux so they are handled consistently. |
Sounds reasonable |
Adds export macros, and annotations for all symbols that should be public. Switches the default for shared library builds on Linux to visibility=hidden so that missing annotations will be caught on both platforms, rather than just Windows. Fixes issue google#208
Fixed in https://github.com/stuartmorgan/flutter-desktop-embedding/tree/library-visibility It's built on PR #183 since doing it on master would create a bunch of conflicts between the two, so it'll need to wait for that to land. I'm expect that to be this week, but in the mean time that branch can be used for experimenting with external plugins. |
Adds export macros, and annotations for all symbols that should be public. Switches the default for shared library builds on Linux to visibility=hidden so that missing annotations will be caught on both platforms, rather than just Windows. Fixes issue google#208
Adds export macros, and annotations for all symbols that should be public. Switches the default for shared library builds on Linux to visibility=hidden so that missing annotations will be caught on both platforms, rather than just Windows. Fixes issue #208
The plugin support added in #161 isn't exported on Windows so isn't actually usable in other projects. It might be easier by adding a
__declspec
macro instead of using theexports.def
file as you have to export the mangled names in some cases which isn't ideal.@clarkezone do you have any insight on how to handle this?
The text was updated successfully, but these errors were encountered: