I\'m trying to write a rather trivial program using open gl on linux, but at a compile time it says:
Compile thumb : egl <= cuberenderer.c In file i
Why not try find /usr/include/X11 -name Xlib.h
find /usr/include/X11 -name Xlib.h
If there is a hit, you have Xlib.h
If not install it using sudo apt-get install libx11-dev
sudo apt-get install libx11-dev
and you are good to go :)