# Cannot find -lglfw

**URL:** <https://discourse.glfw.org/t/cannot-find-lglfw/991>\
**Category:** support\
**Created:** [September 15, 2017, 8:04am UTC](https://discourse.glfw.org/t/cannot-find-lglfw/991 "2017-09-15T08:04:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lincya](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lincya](https://discourse.glfw.org/u/lincya)\
**Post date:** [September 15, 2017, 8:04am UTC](https://discourse.glfw.org/t/cannot-find-lglfw/991/1 "2017-09-15T08:04:07Z")

</div>

I used glfw in CentOS 6 ,but when i make ,it told me this error : cannot find -lglfw.  
But where is this lib?I can’t find it.

---

<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:** [September 15, 2017, 8:41am UTC](https://discourse.glfw.org/t/cannot-find-lglfw/991/2 "2017-09-15T08:41:56Z")

</div>

You can get [GLFW from it’s website](http://www.glfw.org/) or install using your OSs package manager.

A quick search for ‘CentOS rpm glfw’ found several results, for example: [https://centos.pkgs.org/7/epel-x86\_64/glfw-devel-3.2.1-2.el7.x86\_64.rpm.html](https://centos.pkgs.org/7/epel-x86_64/glfw-devel-3.2.1-2.el7.x86_64.rpm.html)

---

<div class="post-metadata">

**Author:** ![ImaZighen](https://avatars.discourse-cdn.com/v4/letter/i/67e7ee/32.png) [@ImaZighen](https://discourse.glfw.org/u/ImaZighen)\
**Post date:** [October 4, 2017, 4:10pm UTC](https://discourse.glfw.org/t/cannot-find-lglfw/991/3 "2017-10-04T16:10:00Z")

</div>

careful, cause the library names might be different, try installing glfw3 lib if you don’t have it  
type this in the terminal : sudo apt-get install libglfw3  
if you can’t find it, compile it from source, or download the pre-compiled files, I will upload the pre-compiled files for 32bits and 64bits for Linux on this forum as a static library, but you need to install the needed deps

 ![Screenshot from 2017-10-04 17-07-02](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b6067ea9e8b91cd54e92b7a5230264672b44ff1b.png)
