glfwCreateWindowSurface not available Vulkan SDK

I can’t use glfwCreateWindowSurface() because it’s not defined by my IDE. After reading the glfw.h file, I saw that this method is inside #if define VK_VERSION_1_0. But even after installing this macro, the problem was not solved. Tell me what could be the matter?

1 Like

Welcome to the GLFW forum.

You should read the GLFW Vulkan Guide, in particular the part about Including the Vulkan and GLFW header files. This explains what you need to do better than I can.

1 Like

Thank you very much!!! :star_struck: