vulkan-guide
vulkan-guide copied to clipboard
Compile Error in vk_mem_alloc.h with VS2019
Build failed in chapter3. I try to switch head file order like:https://github.com/vblanco20-1/vulkan-guide/issues/36, but it does't work.
my build environment: visual studio 2019, CMake 3.15.0 rc3, windows 10 SDK(10.0.19041.0) thanks for any help
Same here in VS 2022.
it seems to me that this code was written/tested with SDL version 2.0.x
grab the last 2.0.x version from github (e.g. https://github.com/libsdl-org/SDL/releases/tag/release-2.0.22) and use it in place of whatever you are using now. Should do the trick.
From chapter 3-scene onwards you will get another error, because of a missing vk_engine
but that's another problem