ly niu wrote:
In my build log, there are some error. I find the root cause is, there isn't
-DWIN32 in cl build command. How to creat an "-DWIN32" after cl command in
harmony ant build env.  Need your help.

I'm using Microsoft Visual Studio .NET 2003 and I get WIN32 defined in $(cflags), via !include <win32.mak> in the makefile.

FYI my full cflags value is:
-c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -FIsehmap.h -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400

You might want to check what you have with your version of the platform SDK, and add any that are missing to the HYCOMMONCFLAGS in working_classlib\depends\build\defines.mak

Regards,
Tim

Reply via email to