# glfwCreateWindowSurface not available Vulkan SDK

**URL:** https://discourse.glfw.org/t/glfwcreatewindowsurface-not-available-vulkan-sdk/2378
**Category:** support
**Created:** [May 14, 2023, 5:47am UTC](https://discourse.glfw.org/t/glfwcreatewindowsurface-not-available-vulkan-sdk/2378 "2023-05-14T05:47:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![StalinPlusPlus](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/stalinplusplus/32/768_2.png) [@StalinPlusPlus](https://discourse.glfw.org/u/StalinPlusPlus)
#### Post date: [May 14, 2023, 5:47am UTC](https://discourse.glfw.org/t/glfwcreatewindowsurface-not-available-vulkan-sdk/2378/1 "2023-05-14T05:47:04Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)
#### Post date: [May 14, 2023, 9:20am UTC](https://discourse.glfw.org/t/glfwcreatewindowsurface-not-available-vulkan-sdk/2378/2 "2023-05-14T09:20:46Z")

</div>

Welcome to the GLFW forum.

You should read the [GLFW Vulkan Guide](https://www.glfw.org/docs/latest/vulkan_guide.html), in particular the part about [Including the Vulkan and GLFW header files](https://www.glfw.org/docs/latest/vulkan_guide.html#vulkan_include). This explains what you need to do better than I can.

---

<div class="post-metadata">

### Author: ![StalinPlusPlus](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/stalinplusplus/32/768_2.png) [@StalinPlusPlus](https://discourse.glfw.org/u/StalinPlusPlus)
#### Post date: [May 14, 2023, 9:32am UTC](https://discourse.glfw.org/t/glfwcreatewindowsurface-not-available-vulkan-sdk/2378/3 "2023-05-14T09:32:12Z")

</div>

Thank you very much!!! 🤩
