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
Build failure on macOS due to Vulkan #1382
Comments
GZDoom doesn’t need Vulkan SDK in order to compile it. Moreover, we only support building with glslang stored inside GZDoom repository. I have no idea how you managed to mix two glslang versions, from |
Well, I did nothing special, just followed the instructions. I have vulkan installed because I built vkquake recently. |
What are those instructions? What’s the version of Vulkan SDK? Is it a native build or cross-compilation? Nobody is able to help you as you provided almost no information. |
Excuse me, I thought that the problem could be resolved at first glance. Updated the first post. |
Please post output of |
I faced this problem before but on Linux. The CMake script does not add the glslang include directory to the list of include search paths so it will prefer the system's glslang include directory if it is found, otherwise falling back to the one that is bundled with the project. |
Why didn’t you report this then? |
Because I forgot after I removed system glslang. |
@alexey-lysiuk anyways, here is the output, hope this helps. |
In theory, this change should fix any kind of internal and system include paths mixing.
I don't want to push such complications to |
This one fails with a completely unrelated error, https://gist.github.com/LETIshNick/98831494d5e38ecc87e7866572e0cb26 |
Certainly, you did something wrong. Most likely, you checked out a wrong branch. Dumb library that causes compilation failure is not a part of GZDoom repository since 4.4.0 while my branch is a few commits older than 4.6.0 release. |
I just noticed that, too., while checking out some things in the CMake project. So what do we do here that it properly sets these up? |
Well, if "do not install random crap in your system" is not an option, I propose to reorder include directories to place internal paths before external. alexey-lysiuk@5c9fb20. Need a volunteer to test it on affected system. |
Having my thesis finished, I can do some testing now. |
I try to build under macos 11.3 (arm) with the latest vulkan 1.2.170.0. To build the source I first evoke cmake . that shows no errors, here is the log.
However when I try to build the target, I have the following error:
The text was updated successfully, but these errors were encountered: