# glfwCreateWindowSurface() method unavailable Vulkan

**URL:** <https://discourse.glfw.org/t/glfwcreatewindowsurface-method-unavailable-vulkan/819>\
**Category:** support\
**Created:** [November 30, 2016, 12:33am UTC](https://discourse.glfw.org/t/glfwcreatewindowsurface-method-unavailable-vulkan/819 "2016-11-30T00:33:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LaurentGarcia](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@LaurentGarcia](https://discourse.glfw.org/u/LaurentGarcia)\
**Post date:** [November 30, 2016, 12:33am UTC](https://discourse.glfw.org/t/glfwcreatewindowsurface-method-unavailable-vulkan/819/1 "2016-11-30T00:33:45Z")

</div>

Hello there!

I’ve installed and compiled the libraries with Vulkan support, but when I try to call this method is not available.

Taking a look into the glfw3.h I see in grey #if defined(VK\_VERSION\_1\_0) and all the methods below the sentence, including glfwCreateWindowSurface(…).

So if I open the declaration for the macro, in vulkan.h apparently is fine:

**#define VK\_VERSION\_1\_0 1**

I’m a bit stucked because I have no idea what it’s happening here 😛

---

<div class="post-metadata">

**Author:** ![LaurentGarcia](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@LaurentGarcia](https://discourse.glfw.org/u/LaurentGarcia)\
**Post date:** [November 30, 2016, 12:38am UTC](https://discourse.glfw.org/t/glfwcreatewindowsurface-method-unavailable-vulkan/819/2 "2016-11-30T00:38:03Z")

</div>

Ok, fixed!.

In glfw3.h header the Vulkan include is #include \<vulkan/vulkan.h\> and it’s not finding my vulkan header… 🙂

my bad
