Skip to content

Building on Windows #21

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
ctreffs opened this issue Apr 26, 2023 · 0 comments · Fixed by #24
Closed

Building on Windows #21

ctreffs opened this issue Apr 26, 2023 · 0 comments · Fixed by #24
Labels
help wanted Extra attention is needed

Comments

@ctreffs
Copy link
Owner

ctreffs commented Apr 26, 2023

It's currently hard to build SwiftSDL2 on Windows.
In fact on CI it is not working for now (https://github.com/ctreffs/SwiftSDL2/actions/workflows/ci-windows.yml).

The idea is to:

  • install SDL2 via vcpkg
  • install pkfconf via vcpkg
  • setup the required environment
  • let SPM handle the includes and lib linking for the build

As of Swift 5.8 everything for this should be in place.
For macOS (brew) and Linux (apt) this way works for ages.
For now it does not however for the Windows platform.

Resources:

@ctreffs ctreffs added the help wanted Extra attention is needed label Apr 26, 2023
@ctreffs ctreffs linked a pull request Apr 27, 2023 that will close this issue
6 tasks
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
1 participant