This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: X11 Question
- To: "Alex Rzasa" <ar at wam dot umd dot edu>
- Subject: Re: X11 Question
- From: Brian Genisio <genisiob at pilot dot msu dot edu>
- Date: Fri, 27 Jul 2001 15:42:45 -0700
- Cc: cygwin-xfree at sources dot redhat dot com
gcc -c psdriver.c -o CYGWIN_NT-5.0/psdriver.o -I/usr/X11R6/include
you will probably also need -L/usr/X11R6/lib and the libraries you want...
-lX11 -lXt -lICE etc...
At 02:43 PM 7/27/2001 -0400, you wrote:
>Dear All,
>
>I am a newbie and would really appreciate someone's help. When I try to
>'make' on an uncompressed tarball in cygwin I get this message:
>
>gcc -c psdriver.c -o CYGWIN_NT-5.0/psdriver.o
>psdriver.c:56: X11/X.h: No such file or directory
>psdriver.c:57: X11/Xlib.h: No such file or directory
>psdriver.c:58: X11/Xatom.h: No such file or directory
>psdriver.c:59: X11/Xutil.h: No such file or directory
>make: *** [CYGWIN_NT-5.0/psdriver.o] Error 1
>
>Does anyone know how to fix this? I have these files; they're under
>/usr/X11R6/include/X11/, which I added to the path in /etc/profile but it
>still gives the same error. Thanks for your time,
>
>-Alex