This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Xos.h needs X11/Xw32defs.h ?? Missing??
- To: cygwin-xfree at cygwin dot com
- Subject: RE: Xos.h needs X11/Xw32defs.h ?? Missing??
- From: Alan Wong <awong at scea dot com>
- Date: Thu, 27 Sep 2001 10:44:44 -0700
>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