-
Notifications
You must be signed in to change notification settings - Fork 236
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
Compile Error in vk_mem_alloc.h with VS2019 #36
Comments
From monkeying about with the code, I seems to be due to some incompatibility between SDL and VMA. If you move the VMA include in Works #define VMA_IMPLEMENTATION
#include "vk_mem_alloc.h"
#include <SDL.h>
#include <SDL_vulkan.h> Fails with the errors above. #include <SDL.h>
#include <SDL_vulkan.h>
#define VMA_IMPLEMENTATION
#include "vk_mem_alloc.h" I'd need to investigate it more as to why its causing that, but at least this fix should allow you to continue working with the tutorial. |
Thank you so much. |
The same issue, looking forward to seeing why. |
I thought the problem is about the |
Thanks for posting - this fixed it for me |
I downloaded the all-chapters branch configured the project with CMake for VS2019 and then set chapter 3 as startup project.
When trying
to compile I get a bunch of errors in vk_mem_alloc.h
The text was updated successfully, but these errors were encountered: