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
vulkan: Backport build fix for MinGW-w64 8.0.0 #43182
vulkan: Backport build fix for MinGW-w64 8.0.0 #43182
Conversation
Taken from KhronosGroup/Vulkan-Loader#475. Supersedes and reverts godotengine#43119 since the upstream change removes the need for that custom define.
@akien-mga The patch works for me. |
There seems to be a problem. I messed up somewhere. Turns out this fix doesn't work. @akien-mga
|
The error is due to requirements for recent dx11 headers for the api the vulkan loader is using. On Windows, using a recent version of Mingw-w64 might help (version 8.0 from http://mingw-w64.org/doku.php). If in your case the headers come from the Windows SDK as it does for MSVC, installing a recent Windows SDK would work (https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/). For anybody interested, I was able to compile on Ubuntu 20.04, but because on the stable repo mingw-64 is still at version 7.0, I had to install it from a ppa. First I had to remove the previous version of mingw entirely (otherwise I had discrepancies in headers):
Then I've installed the new version from https://launchpad.net/~cybermax-dexter/+archive/ubuntu/mingw-w64-backport:
|
Taken from KhronosGroup/Vulkan-Loader#475.
Supersedes and reverts #43119 since the upstream change removes the need for
that custom define.
@fire @Anutrix can you check that this works for you?