-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
system_sdk: Vulkan and OpenGL cross compilation #59
Labels
Milestone
Comments
slimsag
added a commit
to slimsag/mach-glfw
that referenced
this issue
Mar 4, 2022
This effectively provides all you need to develop & cross compile DirectX 11/12 applications with `mach/glfw` (or just Zig in general, by copying `system_sdk.zig` into your own project.) Helps hexops/mach#86 Helps hexops/mach#59 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag
added a commit
to slimsag/mach-glfw
that referenced
this issue
Aug 26, 2022
This effectively provides all you need to develop & cross compile DirectX 11/12 applications with `mach/glfw` (or just Zig in general, by copying `system_sdk.zig` into your own project.) Helps hexops/mach#86 Helps hexops/mach#59 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag
added a commit
to slimsag/mach-glfw
that referenced
this issue
Aug 26, 2022
This effectively provides all you need to develop & cross compile DirectX 11/12 applications with `mach/glfw` (or just Zig in general, by copying `system_sdk.zig` into your own project.) Helps hexops/mach#86 Helps hexops/mach#59 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag
changed the title
Vulkan and OpenGL cross compilation
system_sdk: Vulkan and OpenGL cross compilation
Sep 1, 2022
system_sdk is no longer a monolithic concept, and this issue is largely addressed by our C packages and header libraries today: https://machengine.org/pkg/c/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Mach system SDKs should include what is necessary for mach-glfw to cross-compile when using Vulkan and OpenGL. This likely just requires including the right libraries etc. in the system SDKs. Currently included is:
This work will be easy to reuse for anybody wishing to cross-compile / build their own OpenGL/Vulkan code in Zig as well. See https://github.com/hexops/mach/blob/main/glfw/system_sdk.zig
Other things that I've heard from the incredible @Snektron regarding Vulkan cross compilation:
The text was updated successfully, but these errors were encountered: