# Compilied GLFW failed on centOS

**URL:** <https://discourse.glfw.org/t/compilied-glfw-failed-on-centos/739>\
**Category:** support\
**Created:** [August 28, 2016, 3:37am UTC](https://discourse.glfw.org/t/compilied-glfw-failed-on-centos/739 "2016-08-28T03:37:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![3k4b251](https://avatars.discourse-cdn.com/v4/letter/3/7cd45c/32.png) [@3k4b251](https://discourse.glfw.org/u/3k4b251)\
**Post date:** [August 28, 2016, 3:37am UTC](https://discourse.glfw.org/t/compilied-glfw-failed-on-centos/739/1 "2016-08-28T03:37:06Z")

</div>

I install a virtual centos system on my win7’s vmware tools. all the necessary tools were installed before, like cmake,gcc,g++ and more.  
but when I run : cmake .  
I got the error like this:

===============================================================  
[root@MiWiFi-R2D-srv glfw-build]# cmake .  
– The C compiler identification is GNU 4.4.7  
– Check for working C compiler: /usr/bin/cc  
– Check for working C compiler: /usr/bin/cc – works  
– Detecting C compiler ABI info  
– Detecting C compiler ABI info - done  
– Detecting C compile features  
– Detecting C compile features - done  
– Could NOT find Vulkan (missing: VULKAN\_LIBRARY VULKAN\_INCLUDE\_DIR)  
– Could NOT find Doxygen (missing: DOXYGEN\_EXECUTABLE)  
– Using X11 for window creation  
CMake Error at /usr/local/share/cmake-3.6/Modules/FindX11.cmake:439 (message):  
Could not find X11  
Call Stack (most recent call first):  
CMakeLists.txt:192 (find\_package)

# – Configuring incomplete, errors occurred! See also “/workspace/package/glfw-3.2/glfw-build/CMakeFiles/CMakeOutput.log”. See also “/workspace/package/glfw-3.2/glfw-build/CMakeFiles/CMakeError.log”.

But I think I already installed the x11  
 ![](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/glfw/original/1X/8dda6018b1ca47dfa325016ea31600598fd0b9a7.png)

So what’s the problem?

---

<div class="post-metadata">

**Author:** ![mmozeiko](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/mmozeiko/32/29_2.png) [@mmozeiko](https://discourse.glfw.org/u/mmozeiko)\
**Post date:** [August 28, 2016, 3:58am UTC](https://discourse.glfw.org/t/compilied-glfw-failed-on-centos/739/2 "2016-08-28T03:58:01Z")

</div>

Can you try running `yum groupinstall "X Software Development"` to install X development libraries? Maybe some of them are not installed.

---

<div class="post-metadata">

**Author:** ![3k4b251](https://avatars.discourse-cdn.com/v4/letter/3/7cd45c/32.png) [@3k4b251](https://discourse.glfw.org/u/3k4b251)\
**Post date:** [August 29, 2016, 6:01am UTC](https://discourse.glfw.org/t/compilied-glfw-failed-on-centos/739/3 "2016-08-29T06:01:59Z")

</div>

yeah,I will try. I tried to run " cmake . " in windows ,cygwin. and I got the same problem: Could Not Find X11.
