wdk 编译错误
我刚下个GRMWDK_EN_7600_1.ISO (驱动程序开发包)
然后编译个文件
#include <windows.h>
#include <stdio.h>
int __cdecl wmain (int argc, WCHAR* args[])
{
wprintf ( L"Welcome to Advanced Windows Debugging!!!\n" ) ;
}
然后编译时候有以下错误:
BUILD: Computing Include file dependencies:
c:\awd\chapter1: use_native_eh has an invalid value, change it to 1 (all invalid values act like 1) (SYNC).
c:\awd\chapter1:
BUILD: Examining c:\awd\chapter1 directory for files to compile.
oacr invalidate root:x86chk /autocleanqueue
1>Compiling and Linking c:\awd\chapter1 *************
1>'nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR='
1>c:\winddk\7600.16385.1\bin\makefile.new(362) : fatal error U1050: c:\awd\chapter1: USE_NATIVE_EH has an invalid value, change it to 1.
1>errors in directory c:\awd\chapter1
1>c:\winddk\7600.16385.1\bin\makefile.new(362) : error U1050: c:\awd\chapter1: USE_NATIVE_EH has an invalid value, change it to 1.
1>Stop.
1>nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR= failed - rc = 2
哪位高手指点下!