# Compiling GLFW, cannot find the libs

**URL:** <https://discourse.glfw.org/t/compiling-glfw-cannot-find-the-libs/1095>\
**Category:** support\
**Created:** [March 1, 2018, 2:52pm UTC](https://discourse.glfw.org/t/compiling-glfw-cannot-find-the-libs/1095 "2018-03-01T14:52:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimif](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@jimif](https://discourse.glfw.org/u/jimif)\
**Post date:** [March 1, 2018, 2:52pm UTC](https://discourse.glfw.org/t/compiling-glfw-cannot-find-the-libs/1095/1 "2018-03-01T14:52:27Z")

</div>

I just begin to install opengl, with help of GLFW, on Linux Mint 18.3…  
I used cmake to build the files to compile GLFW. Then, i try to compile GLFW, and it runs with one error (i’ve installed X11, Doxygen and other stuff).  
The error is " could NOT find Vulkan (lib and include)"

Questions :  
Is Vulkan mandatory ?

A message of cmake is "Build files have been written to glfw-3.2.1

But I don’t find the lib files (libglfw\*). Are the lib files built ? If yes where are these files ?

---

<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:** [March 1, 2018, 3:12pm UTC](https://discourse.glfw.org/t/compiling-glfw-cannot-find-the-libs/1095/2 "2018-03-01T15:12:11Z")

</div>

cmake should generate build files for you, you then need to run these.

Normally a Makefile is generated, you then run a make command such as “make all”.

I don’t think you need the Vulkan SDK installed, the message (it’s likely not an error unless it says so) is just indicating that it won’t build against Vulkan as it can’t find the required dependencies. If you just want GLFW for OpenGL you should be fine.

---

<div class="post-metadata">

**Author:** ![jimif](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@jimif](https://discourse.glfw.org/u/jimif)\
**Post date:** [March 1, 2018, 4:08pm UTC](https://discourse.glfw.org/t/compiling-glfw-cannot-find-the-libs/1095/3 "2018-03-01T16:08:17Z")

</div>

Thanks a lot, it has built libglfw.so and put it in src dir (??). One step past, now trying to build a hello world app… 🙂
