Open TylerJaacks opened 4 months ago
There are more issues than this on Windows. It looks like the build process would only run on MacOS or Linux. Paths are hardcoded based on the *nix Playdate SDK.
On Windows, the Playdate SDK uses CMake, whereas on MacOS/Linux it uses a bundled version of gcc
for ARM.
This is not insurmountable, but it goes deeper than the OP's issue.
So this works on Linux? Cause that is fine I can use WSL.
So this works on Linux? Cause that is fine I can use WSL.
It may, if you have the linux Playdate SDK installed.
It looks like the Linux version of swift also has the same problem that you encountered in the OP.
Currently PlaydateKit only supports macOS. It should be fairly easy to get it working on Linux, probably just need to update PDCPlugin to switch out some paths and use swiftc
directly instead of xcrun
. If I get a Linux env set up I may spend some time trying to get this working soon.
Not entirely sure what's required for Windows support and I'm not planning on looking into this any time soon, but as you said you should be able to use WSL with Linux.
swift package pdc