Assuming you have the X devel package as others have suggested, you may
also need to tell the compiler where to find the headers:
-I/usr/X11R6/include
#include should then work.
Xlib is beastly and nasty, so if you aren't very familiar with C
(especially if you're easily frsturated) it's prob
> I even downloaded the O'Reilly version and that didn't work. The
> O'Reilly version complains
> that it can't load Xlib.h although my compile line reads
> gcc -g -lX11 -o basicwin basicwin.c
> I tried it with a -DSYSV also but to no effect. My version has fits
> complaining about undeclar
spoiler freeserve co uk <[EMAIL PROTECTED]> writes:
spoiler> I recently purchased the O'Reilly Xlib Programming Manual
spoiler> with the aim of learning how to write X applications. My
spoiler> problem though is I can't get basicwin.c to compile up at
spoiler> all!
(You probably don't want to writ
On Wed, 12 May 1999, spoiler.freeserve.co.uk wrote:
> I even downloaded the O'Reilly version and that didn't work. The
> O'Reilly version complains
> that it can't load Xlib.h although my compile line reads
> gcc -g -lX11 -o basicwin basicwin.c
> I tried it with a -DSYSV also but to no eff
4 matches
Mail list logo