Hi I am a newbie of Harmony community, now I am trying to build harmony. I have followed the instruction of "Getting Started For Contributors", when I execute the "ant -Dauto.fetch=true all" command, it showed the following error message:
[exec] EncodedValue.cpp [exec] cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -WX -GF -Gs -MD -Zm400 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_D EPRECATE -D_DLL -D_MT -D_WINSOCKAPI_ /IE:\Harmony\trunk\working_classlib\deploy\include /IE:\Harmony\trunk\working_classlib\deploy\jdk\include /I. /I..\shared\include /I..\shared\ /EHsc -Fo..\shared\Environment.obj ..\shared\Environment.cpp [exec] Environment.cpp [exec] e:\harmony\trunk\working_classlib\modules\awt\src\main\native\fontlib\shared\TypeDefinition.h(21) : error C2144: syntax error : 'int' should be preceded by ';' [exec] e:\harmony\trunk\working_classlib\modules\awt\src\main\native\fontlib\shared\TypeDefinition.h(21) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [exec] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2' [exec] Stop. My environment is: Windows XP/x86, VC2008 express, JDK 1.5.0_19 (Sun Microsystems Inc.) I checked the TypeDefinition.h, there is only some typedef code, there is not any syntax error in my opinion. Could anyone pleased to tell me why this error happen and how to fix it? Thanks, Norman