Xos.h needs X11/Xw32defs.h ?? Missing??
Suhaib Siddiqi
ssiddiqi@inspirepharm.com
Fri Sep 28 05:10:00 GMT 2001
If you want to compile using Cygwin you must remove -DWIN32 flag from your
Makefile. You do not need Xw32defs.h.
However if you prefer MSVC only, then have a look at
http://sources.redhat.com/win32-x11
Suhaib
> -----Original Message-----
> From: Alan Wong [ mailto:awong@scea.com ]
> Sent: Thursday, September 27, 2001 1:45 PM
> To: cygwin-xfree@cygwin.com
> Subject: RE: Xos.h needs X11/Xw32defs.h ?? Missing??
>
>
>
> >You should NOT be using -DWIN32 flags when compiling an X
> application
> >with
> Cygwin. It causes >conflicts with code for MSVC.
> >
> >Suhaib
>
> Oh, can this stuff be compiled with MSVC? If so, exactly
> where/how can I get the needed file X11/Xw32defs.h?
>
> Thanks a lot.
>
> >>Hi, I've installed cygwin and xfree and built c/c++ application
> >>including
> headers:
> >>
> >>#include <X11/Xlib.h>
> >>#include <X11/Xlibint.h>
> >>#include <X11/Xutil.h>
> >>#include <X11/Xatom.h>
> >>#include <X11/Xos.h>
> >>
> >>where I have C:\cygwin\usr\X11R6\include\X11 as an include
> directory.
> >>So the compiler is happy until it hits line 138 of Xos.h:
> >>
> >>#ifdef WIN32
> >>#include <X11/Xw32defs.h>
> >>#else
> >>
> >>I can't seem to find this file anywhere. Was it supposed to
> be part of
> the install?
> >>Am I missing a file? How do I get it if I need it or what should I
> >>do?? Thanks.
>
>
> -Alan Wong - Software Engineer
> Sony Computer Entertainment America
> 10075 Barnes Canyon Road
> San Diego, CA 92121-2723
> (858) 824-5883
> (858) 824-5878 - FAX
>
More information about the Cygwin-xfree
mailing list