View Single Post
  #5   (View Single Post)  
Old 3rd June 2009
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

Leave the #include <X11/Xlib.h> as it is and add this option to gcc when compiling:

gcc -I /usr/X11R6/include -L /usr/X11R6/lib prog.c -lX11

Last edited by ephemera; 3rd June 2009 at 08:12 PM.
Reply With Quote