Hi,

i did read carefully your description how to compile Google Gears on
Windows but it seems I'm struggling with my local configuation.

C:\Dev\gears\gears>make BROWSER=IE MODE=opt OS=wince
make prereqs    BROWSER=IE
make[1]: Nothing to be done for `prereqs'.
make genheaders BROWSER=IE
make[1]: Nothing to be done for `genheaders'.
make modules    BROWSER=IE
cl -I.. -Ibin-opt/wince-arm/ie -Ibin-opt/wince-arm/common -I../
third_party/npapi
 -I../third_party -I../third_party/googleurl -I../third_party/icu38/
public/commo
n -DPNG_USER_CONFIG -I../third_party/zlib -DNO_GZIP -DNO_GZCOMPRESS -
DNO_ERRNO_H
 -I../third_party/breakpad/src -I../third_party/libgd /nologo -DSTRICT
-D_UNICOD
E -DUNICODE -D_USRDLL -DWIN32 -D_WINDLL -D_CRT_SECURE_NO_DEPRECATE -
DNOMINMAX -D
_WIN32_WCE=0x501 -DWINVER=_WIN32_WCE -DUNDER_CE=0x501 -DOS_WINCE -
DWIN32_PLATFOR
M_PSPC -DARM -D_ARM_ -DPOCKETPC2003_UI_MODEL -
D_CE_ALLOW_SINGLE_THREADED_OBJECTS
_IN_MTA -D_CE_CRT_ALLOW_WIN_MINMAX   -DNDEBUG=1 -DUSING_CCTESTS=1 -I../
third_par
ty/gtest/include -I../third_party/gtest /c /Fo"bin-opt/wince-arm/ie/
thread_win32
.obj" /Fd"bin-opt/wince-arm/ie/thread_win32.pdb" /W3 /WX /GR- /MT  /
Zi /Zc:wchar
_t- /O2 -D_HAS_EXCEPTIONS=0 -D_ATL_NO_EXCEPTIONS -
DU_STATIC_IMPLEMENTATION /TP /
J -DBROWSER_IE=1 -DJS_THREADSAFE   base/common/thread_win32.cc
thread_win32.cc
c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(2863) : error C2
220: warning treated as error - no 'object' file generated
c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(2863) : warning
C4005: 'CONTEXT_CONTROL' : macro redefinition
        c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(1329) :
see previous definition of 'CONTEXT_CONTROL'
c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(2864) : warning
C4005: 'CONTEXT_INTEGER' : macro redefinition
        c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(1330) :
see previous definition of 'CONTEXT_INTEGER'
c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(2865) : warning
C4005: 'CONTEXT_FLOATING_POINT' : macro redefinition
        c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(1332) :
see previous definition of 'CONTEXT_FLOATING_POINT'
c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(2867) : warning
C4005: 'CONTEXT_FULL' : macro redefinition
        c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(1337) :
see previous definition of 'CONTEXT_FULL'
c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(2876) : error C2
011: '_CONTEXT' : 'struct' type redefinition
        c:\dev\Windows Mobile 5.0 Smartphone SDK\Include\Armv4i
\winnt.h(1369) :
see declaration of '_CONTEXT'
make[1]: *** [bin-opt/wince-arm/ie/thread_win32.obj] Error 2
make: *** [default] Error 2

Use plain CMD shell, here my INCLUDE variable:

INCLUDE=c:\dev\Microsoft Visual Studio 8\VC\ce\include;c:\dev
\Microsoft Visual S
tudio 8\VC\ce\atlmfc\include;c:\dev\Windows Mobile 5.0 Smartphone SDK
\Include\Ar
mv4i;c:\Programme\Microsoft Platform SDK for Windows Server 2003
R2\include

Thanks in advance for any advice.

Volker

Reply via email to