Compiling Wine on Cygwin/with MSVC
Martin Fuchs
martin-fuchs at gmx.net
Mon Oct 4 14:47:44 CDT 2004
Hello,
when trying to compile WINE using Cygwin I am getting errors such as: (this example for wine/programs/notepad)
gcc -c -I. -I. -I../../include -I../../include -I../../include/msvcrt -DNO_LIBWINE_PORT -D_REENTRANT -Wall -pipe -mprefe
rred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o License_En.o License_En.c
In file included from /usr/include/w32api/objfwd.h:7,
from /usr/include/w32api/objidl.h:7,
from ../../include/objbase.h:270,
from ../../include/ole2.h:25,
from ../../include/windows.h:77,
from License_En.c:1:
/usr/include/w32api/basetyps.h:124: error: Syntaxfehler before '*' token
/usr/include/w32api/basetyps.h:125: error: Syntaxfehler before '*' token
/usr/include/w32api/basetyps.h:127: error: Syntaxfehler before '*' token
In file included from ../../include/objbase.h:270,
from ../../include/ole2.h:25,
from ../../include/windows.h:77,
from License_En.c:1:
/usr/include/w32api/objidl.h:10: error: Syntaxfehler before "LPOLESTR"
I configured with "configure --disable-win16".
When trying to compile parts of WINE using MSVC, I'm getting:
Compiling...
comctl32undoc.c
d:\wine-msvc\include\windows.h(23) : fatal error C1189: #error : Wine should not include windows.h internally
This all worked some months ago.
Can someone explain, what's wrong here?
Thanks,
Martin
More information about the wine-devel
mailing list