Skip to content
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 #81

Open
John-Yi opened this issue Nov 8, 2022 · 2 comments
Open

Compile Error in vk_mem_alloc.h with VS2019 #81

John-Yi opened this issue Nov 8, 2022 · 2 comments

Comments

@John-Yi
Copy link

John-Yi commented Nov 8, 2022

image
Build failed in chapter3. I try to switch head file order like:#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

@Torphedo
Copy link

Torphedo commented Dec 3, 2022

Same here in VS 2022.

@cosw0t
Copy link

cosw0t commented Apr 30, 2023

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 header in vk_engine but that's another problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants