Subject: Re: compiling simple X program
To: None <njl@EastCoastEmail.com>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-help
Date: 07/17/2002 18:35:55
Nathan Langford <njl@EastCoastEmail.com> writes:
> I'm trying to experiment with writing C for X.  I found a simple
> program that just creates a window and then closes it, but the
> include <X11/Xlib.h> line generates the error:
> 
> "X11/Xlib.h: No such file or directory"
> 
> Doesn't make sense to me since it exists in /usr/X11R6/include.
> What am I missing?  I know it's something stupid - don't hate me.

man cc
Search for "-I".

.pm