X11 development files in Ubuntu
February 6th, 2008
If you tried to compile a X11 application in Ubuntu you may get error messages that several X11 related header files were missing (such as Xlib.h). The files you need are contained in the libx11-dev package. Type this command to install it:
and then try again to build the application.
sudo apt-get install libx11-devand then try again to build the application.