This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: X11 Question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]