问题描述
- win7编译WDK出错,代码是微软的事例代码
-
错误代码如下:
0>Bad Path string: L'g: F '1>errors in directory g:驱动开发srcaudioac97cpl
1>g:驱动开发srcaudioac97cplmakefile(22) :
error U1054: cannot create inline file 'g:CONCURRENT_MIDL=0objchk_wxp_x86i386c1>nmake.exe /
nologo BUILDMSG=Stop. -i BUILD_PASS=PASS1 NOLINK=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR=srcaudioac97cpl failed - rc = 22>errors in directory g:驱动开发srcaudioac97proppage
2>g:驱动开发srcaudioac97proppagemakefile(22) : error U1054:
cannot create inline file 'g:CONCURRENT_MIDL=0objchk_wxp_x86i386c2>nmake.exe /
nologo BUILDMSG=Stop. -i BUILD_PASS=PASS1 NOLINK=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR=srcaudioac97proppage failed - rc = 21>errors in directory g:驱动开发srcaudioac97driver
1>g:驱动开发srcaudioac97drivermakefile(22) : error U1054:
cannot create inline file 'g:CONCURRENT_MIDL=0objchk_wxp_x86i386ech1>nmake.exe /
nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR=srcaudioac97driver failed - rc = 2
解决方案
要用他那个自带的 x64 Free Build Environment