Closed fade2black244 closed 7 years ago
Had same error. You have to grab the latest Vulkan SDK from their website. https://vulkan.lunarg.com/sdk/home
Be sure to check the page for updates. Also be sure to clean vkquake before building it and re target it, if it gives the option. (if you use visual studio)
You want to build a version before 2b503b584dc4485d54a6dccbcd5681b3dfb3f781. Code after that requires SDL 2.0.6 which is not released yet, therefore you probably don't have the necessary headers in sdl-devel.
But i just compiled the latest version just an hour ago and its fine?
@LethalManBoob I got the latest version of the Vulkan SDK from the link that you sent me: same issue.
@Novum I tried building with the version above, same issue.
vkQuake started using the vulkan functionality from soon-to-be-released SDL2-2.0.6: That started with commit a69c20b34
If one is compiling for windows, there will be no issues because SDL2-2.0.6 is included here. However, if one is compiling for Linux, then:
It's not related to the Vulkan SDK at all.
@sezero Thanks for the explaination. So I chose to compile the source code for SDL2-2.0.6 and installed it from these instructions: https://wiki.libsdl.org/Installation#Linux.2FUnix
I had no issues with this part.
However, when making the installation for vkQuake ready to be installed it gave me plenty of errors.
Errors are attached on a file: errors.txt
Any help on getting that to work would be worth a beer.
You need Vulkan SDK 1.0.54 or newer: VK_KHR_dedicated_allocation extension began with 1.0.54.
@sezero This is the version that I have installed:
Version / Released | File / SHA 256 |
---|---|
1.0.61.1 20-Sep-2017 | vulkansdk-linux-x86_64-1.0.61.1.run (20MB) Latest 0dce8ec27ce74b153483db3cfb210cf974d37c5f637515e1ad5841191e051c79 |
Source: https://vulkan.lunarg.com/sdk/home
So that can't be it.
You are clearly compiling against an outdated Vulkan header, sezero is completely correct. As for the SDL problem, 2.0.6 has been released.
I figured it out. I forgot to set the environmental variable path before using the new version of the SDK, thus updating it. Now I'm good with this.
Thanks for all of your help.
When I try to make the file, it gives me a no such file or directory fatal error. So I literally put the file SDL_vulkan.h in every single directory in the vkQuake directory and it still gives me the same error.
fatalerror.txt
This shows at the end of my terminal session: gl_vidsdl.c:32:24: fatal error: SDL_vulkan.h: No such file or directory
include "SDL_vulkan.h"
compilation terminated. make: *** [gl_vidsdl.o] Error 1
I'm using Debian 9 "Stretch". Any help would be appreciated.