8楼说的 估计 对楼主更有用
是build environments 没有修改过来,选择上windows xp 就好了
开始菜单:
|-Windows Driver Kits
|-WDK 7600.16385.1
|-Build Environments
|-Windows 7
|-Windows Server 2003
|-Windows Vista and Windows Server 2008
|-Windows XP
详情回复
发表于 2010-5-31 13:12
那是因为装的是wdk7,默认win7系统,找到wdk安装目录bin文件夹下的setenv.bat文件,找到下面内容
set _FreeBuild=true
set _IA64bit=false
set _AMD64bit=false
set _BscMake=FALSE
set _RunOacr=TRUE
set _VersionedHeaders=TRUE
set _LatestOsTarget=WIN7
set RAZZLETOOLPATH=%BASEDIR%\Bin
set separate_object_root=FALSE
set DDK_TARGET_OS=Win7
改成下面:
set _FreeBuild=true
set _IA64bit=false
set _AMD64bit=false
set _BscMake=FALSE
set _RunOacr=TRUE
set _VersionedHeaders=TRUE
set _LatestOsTarget=WINXP
set RAZZLETOOLPATH=%BASEDIR%\Bin
set separate_object_root=FALSE
set DDK_TARGET_OS=WinXP
你再编译一下就好了,其实只是驱动外面的文件夹名字不对头,里面的驱动是xp的
那是因为装的是wdk7,默认win7系统,找到wdk安装目录bin文件夹下的setenv.bat文件,找到下面内容
set _FreeBuild=true
set _IA64bit=false
set _AMD64bit=false
set _BscMake=FALSE
set _RunOacr=TRUE
set _VersionedHeaders=TRUE
set _Latest……
8楼说的 估计 对楼主更有用
是build environments 没有修改过来,选择上windows xp 就好了
开始菜单:
|-Windows Driver Kits
|-WDK 7600.16385.1
|-Build Environments
|-Windows 7
|-Windows Server 2003
|-Windows Vista and Windows Server 2008
|-Windows XP