WARNING!VisualDDK wizard was unable to find any DDK/WDK installed on your system.

我的环境:WIN7 64旗舰版+VS2010+GRMWDK_EN_7600_1.ISO+VisualDDK-1.5.6.exe

-----------------------------------------------------------------------------------------------------------------------------------

今天搭建驱动开发环境,在使用VS2010创建驱动工程时,VisualDDK向导弹出以下错误:

WARNING!VisualDDK wizard was unable to find any DDK/WDK installed on your system.
Please check your %DDKPATH% and %WDKPATH% environment variables.

意思是环境变量DDKPATH或WDKPATH的值不可用

解决方法:重启电脑,一切正常了。 //  PS:安装完GRMWDK_EN_7600_1.ISO+VisualDDK-1.5.6.exe后我没重启

-------------------------------------------------------------------------------------------------------------------------------------------------------------

驱动开发包GRMWDK_EN_7600_1.ISO官方下载地址:

http://www.microsoft.com/en-us/download/details.aspx?id=11800


http://218.204.43.36/download.microsoft.com/download/4/A/2/4A25C7D5-EFBE-4182-B6A9-AE6850409A78/GRMWDK_EN_7600_1.ISO

VisualDDK-1.5.6.exe下载地址:

http://visualddk.sysprogs.org/

---------------------------------------------------------------------------------------------------------------------------------------------------------

说下我解决以上问题的过程:

1. 我的驱动开发包安装目录为:D:\WinDDK\7600.16385.1



2.打开CMD,敲命令set WDKPATH,发现其值确实为:D:\WinDDK\7600.16385.1

WARNING!VisualDDK wizard was unable to find any DDK/WDK installed on your system._第1张图片

说明我的环境变量没有设置错误。

3. 由此我想到了是不是安装完驱动开发包后,需要重启,该环境变量才起作用,果断重启,一切OK。

-----------------------------------------------------------------------------------------------------------------------------------------------------------

题外话,使用VisualDDK创建工程时,在Insert的后面会出现个红框,里面的内容完全看不清,如下图所示,

解决方法:以管理员身份运行VS2010即可。


------------------------------------------------------------------------------------------------------------------------------------------------------------

截张我编译通过的图:

WARNING!VisualDDK wizard was unable to find any DDK/WDK installed on your system._第2张图片












你可能感兴趣的:(VS2010,驱动,DDK,wdk,visualddk)