-
Notifications
You must be signed in to change notification settings - Fork 480
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
macOS/MoltenVK issue on SDL 2.0.12 #1028
Comments
I was able to build SDL2 manually and static link it. It was not an easy process so a few things I had to do in build.rs for rust-sdl2:
After static linking, my vulkan app works fine. I only reproduce the above behavior if I manually set SDL_VIDEO_VULKAN to 0. I think the next step is figuring out why bundled 2.0.12 SDL2 is producing different results than static linking my own SDL2 I built manually. |
The issue is that the HAVE_FRAMEWORK_METAL check is failing
Looks like this was reported here: This error can be found in the CMakeError.log in the target directory and does not occur with sdl2-sys 0.34.2 which is based on SDL 2.0.10. I can reproduce this when manually building SDL2 from source when using cmake. |
My application runs with sdl2-sys 0.34.2 but not 0.34.3, when using bundled/static-link. The error message:
It may be related to this:
KhronosGroup/MoltenVK#846
It sounds like VK_MVK_macos_surface was replaced with VK_EXT_metal_surface. I'll investigate this more later, but wanted to mention it.
The text was updated successfully, but these errors were encountered: