Replies: 4 comments
-
I haven't tried this sorry. I've only cross-compiled from x86_64-linux to aarch64-linux. |
Beta Was this translation helpful? Give feedback.
-
I'm fairly sure it is a zig issue, rather than a build dvui issue. I'll try adding some explicit system library paths to the build script and see if that helps. |
Beta Was this translation helpful? Give feedback.
-
From https://github.com/ikskuh/SDL.zig
ikskuh/SDL.zig#8 appears to have a potential solution. Will take a closer look to see if I can integrate it |
Beta Was this translation helpful? Give feedback.
-
I've made some small progress on this with getting a linux / SDL2 app cross-compiled from windows. What I've found is that
I think in the short-term this isn't going to be feasible. If I work out a less-hacky way to implement this, I'll try to get a patch upstreamed to support cross-compilation for SDL2. Edit: see https://github.com/castholm/SDL which claims to be able to croos-compile sdl3 for macos, but by using sysroot. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've had a few different attempts at this, but never got it to work.
I have a sysroot set up under Darling with the MacOS SDK installed within it, but zig can never seem to find any of the frameworks to link. I can cross compile command line apps just fine.
Beta Was this translation helpful? Give feedback.
All reactions