This is the mail archive of the
mailing list for the Cygwin XFree86 project.
RE: Xos.h needs X11/Xw32defs.h ?? Missing??
- To: "'cygwin-xfree at cygwin dot com'" <cygwin-xfree at cygwin dot com>
- Subject: RE: Xos.h needs X11/Xw32defs.h ?? Missing??
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Thu, 27 Sep 2001 06:54:20 -0400
You should NOT be using -DWIN32 flags when compiling an X application with
Cygwin. It causes conflicts with code for MSVC.
> -----Original Message-----
> From: Alan Wong [mailto:firstname.lastname@example.org]
> Sent: Wednesday, September 26, 2001 11:32 PM
> To: email@example.com
> Subject: Xos.h needs X11/Xw32defs.h ?? Missing??
> Hi, I've installed cygwin and xfree and built c/c++
> application including
> #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>
> 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??
> -Alan Wong - Software Engineer
> Sony Computer Entertainment America
> 10075 Barnes Canyon Road
> San Diego, CA 92121-2723
> (858) 824-5883
> (858) 824-5878 - FAX