Re: programming X

1999-05-13 Thread Havoc Pennington
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

Re: programming X

1999-05-12 Thread Andrew Chung
> 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

Re: programming X

1999-05-12 Thread David Z. Maze
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

Re: programming X

1999-05-12 Thread Prashanth Mundkur
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