# Problems while compiling

**URL:** <https://discourse.glfw.org/t/problems-while-compiling/205>\
**Category:** support\
**Created:** [November 21, 2006, 11:11pm UTC](https://discourse.glfw.org/t/problems-while-compiling/205 "2006-11-21T23:11:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [November 21, 2006, 11:11pm UTC](https://discourse.glfw.org/t/problems-while-compiling/205/1 "2006-11-21T23:11:40Z")

</div>

**nobody** wrote on [Tuesday, November 21, 2006](https://sourceforge.net/p/glfw/discussion/247562/thread/2c9e9147/#11c5):

Hi!

I’m trying to compile GLFW, but I get those errors:  
./platform.h:48:22: error: X11/Xlib.h: No such file or directory  
./platform.h:49:24: error: X11/keysym.h: No such file or directory  
./platform.h:50:23: error: X11/Xatom.h: No such file or directory  
./platform.h:51:20: error: GL/glx.h: No such file or directory  
In file included from ./platform.h:52,  
from …/internal.h:65,  
from …/enable.c:36:  
./…/…/include/GL/glfw.h:167:20: error: GL/gl.h: No such file or directory  
./…/…/include/GL/glfw.h:168:21: error: GL/glu.h: No such file or directory  
In file included from …/internal.h:65,  
from …/enable.c:36:  
./platform.h:202: error: expected specifier-qualifier-list before ‘Window’  
./platform.h:269: error: expected specifier-qualifier-list before ‘Display’  
./platform.h:406: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘\_\_attribute\_\_’ before ‘\_glfwCreateNULLCursor’  
./platform.h:413: error: expected ‘)’ before ‘keysym’  
In file included from …/enable.c:36:  
…/internal.h:175: warning: type defaults to ‘int’ in declaratioan of ‘GLubyte’  
…/internal.h:175: error: expected ‘;’, ‘,’ or ‘)’ before ‘\*’ token  
…/enable.c: In function ‘\_glfwEnableMouseCursor’:  
…/enable.c:59: error: ‘GL\_FALSE’ undeclared (first use in this function)  
…/enable.c:59: error: (Each undeclared identifier is reported only once  
…/enable.c:59: error: for each function it appears in.)  
…/enable.c: In function ‘\_glfwDisableMouseCursor’:  
…/enable.c:77: error: ‘GL\_TRUE’ undeclared (first use in this function)  
…/enable.c: In function ‘\_glfwEnableSystemKeys’:  
…/enable.c:150: error: ‘GL\_FALSE’ undeclared (first use in this function)  
…/enable.c: In function ‘\_glfwDisableSystemKeys’:  
…/enable.c:163: error: ‘GL\_TRUE’ undeclared (first use in this function)  
make[1]: \*\*\* [enable.o] Error 1  
make[1]: Leave '/home/annika/glfw-2.5/lib/x11’  
make: \*\*\* [x11] Error 2

Do I have to install a certain package???
