Replies: 2 comments 11 replies
-
Sorry, there's no functionality in Kha for that. And even in theory it's only somewhat possible - for Windows you need to compile shaders for Direct3D and that compiler is not available for Non-Windows. You could do an OpenGL or Vulkan-build but that's not as compatible. Or you could just not pre-compile the shaders but that's also not great. So whatever you do, cross-compiling for Windows will result in a build which is in some way compromised. Doing something without Xcode is also not an option because Xcode is what gets you the C/C++-compiler in the first place. |
Beta Was this translation helpful? Give feedback.
-
Bit of a follow-up question to this since it is fairly relevant to the discussion. You mentioned that making it possible to build from macOS would be difficult because any Windows-build would be compromised by the lack of Direct3D support on those platforms. I come from a Linux background so I am curious to know something. I have seen some projects where they support the topic of cross-building with a compiler known as MinGW (or MinGW-w64) and this compiler is available both on Linux and Windows. If Kha supported being able to generate makefiles or builds for those compilers, would it be possible to get Windows builds? (be it OpenGL using GLSL shaders or Vulkan builds on Windows) |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, first post here. I've been using Kha for a while and I'll be delivering a demo of my game in the next weeks. As I'm using an old iMac 2011 (High Sierra), I'm able to build for Mac (with XCode) and Linux, but not Windows. I remember I could build for all 3 when I was using monogame/dotnet (for Windows and for Mac (without XCode)). Would that be possible to do with Kha? Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions