#include<X11/Xlib.h> //compiler says that can't find the file.
i searched the file in /usr/X11R6/include, i got nothing. how can i install the X?
thanks for any help
jinhao
Printable View
#include<X11/Xlib.h> //compiler says that can't find the file.
i searched the file in /usr/X11R6/include, i got nothing. how can i install the X?
thanks for any help
jinhao
X is apparantly installed if you are running in graphic mode. As far as I know this and other X headers should be present if X is installed properly.
Are you sure that Xlib.h is not in /usr/X11R6/include/X11/?
There should also be: either a link in /usr/include that is called X11 and points to /usr/X11R6/include/X11/ OR you should use -I/usr/X11R6/include/ as a command line option for your compiler.
And one more thing. If you search for the file on the whole partition without finding it, you probably forgot to install XF86-devel (or something). Try to search for it either online or in your rpmdrake.