Skip to content
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

Windows support #11

Closed
stackotter opened this issue Mar 22, 2022 · 4 comments
Closed

Windows support #11

stackotter opened this issue Mar 22, 2022 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@stackotter
Copy link
Owner

Theoretically, SwiftCrossUI should work on Windows, but I haven't managed to install Gtk on Windows in a way that Swift can use yet. If you use Swift on Windows, you'll probably have more luck than I did! Feel free to try and get it running.

If you do manage to get it working, please let us now how, so that we can setup a GitHub action for Windows builds. And if an code changes are required to get it running, just make a PR.

@stackotter stackotter added the help wanted Extra attention is needed label Mar 22, 2022
@stevapple
Copy link
Contributor

stevapple commented Jun 9, 2023

We had once got there since Gtk+ 3.24 was able to be built. It turned out that Gtk+ 4, however, cannot be built with static linking on Windows (at least with Vcpkg, seemingly the only package manager we can use).

Keep an eye on microsoft/vcpkg#31830. We're almost there.

@stevapple
Copy link
Contributor

Dynamic linking should work though. I'm willing to try if there can be some kind of experimental support.

@Amzd
Copy link
Contributor

Amzd commented Jun 9, 2023

We are very interested in getting this working on Windows! If you get this working or have any questions about SwiftCrossUI side or if we need to change anything to support Windows please comment on this issue or for quick contact we frequent discord here: https://discord.gg/zd7Trztdnk

@stackotter
Copy link
Owner Author

Im pretty sure @stevapple got this working so I’m closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants