Skip to content

[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

Closed
CallumIddon opened this issue Jan 5, 2019 · 3 comments
Closed

[Windows] Plugin Support Not Exported #208

CallumIddon opened this issue Jan 5, 2019 · 3 comments
Assignees

Comments

@CallumIddon
Copy link
Contributor

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 the exports.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?

@stuartmorgan-g
Copy link
Collaborator

Ah, right. I'll add an export macro and annotations, and turn on visibility hidden for Linux so they are handled consistently.

@stuartmorgan-g stuartmorgan-g self-assigned this Jan 5, 2019
@clarkezone
Copy link
Collaborator

Sounds reasonable

stuartmorgan-g added a commit to stuartmorgan-g/flutter-desktop-embedding that referenced this issue Jan 7, 2019
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
@stuartmorgan-g
Copy link
Collaborator

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.

stuartmorgan-g added a commit to stuartmorgan-g/flutter-desktop-embedding that referenced this issue Jan 8, 2019
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
stuartmorgan-g pushed a commit that referenced this issue Jan 8, 2019
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
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants