Xos.h needs X11/Xw32defs.h ?? Missing??

Alan Wong awong@scea.com
Thu Sep 27 10:44:00 GMT 2001


>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