无法在vs2015下编译示例驱动程序代码 [英] Can't complied sample driver code under vs2015
问题描述
我从此页面安装SDK和WDK: https://developer.microsoft.com/en-us/windows/hardware/windows-driver-kit
I install SDK and WDK from this page: https://developer.microsoft.com/en-us/windows/hardware/windows-driver-kit
但是complie示例代码失败。
but complie sample code failed.
得到如下错误:
致命错误C1083:无法打开包含文件:'C:\Program文件(x86)\ Windows Kits \10\Include\10.0.15063.0\shared\warning.h':没有这样的文件或目录
fatal error C1083: Cannot open include file: 'C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\shared\warning.h': No such file or directory
发现SDK版本为10.0.15063.0但WDK版本为10.0.15063.468。
Found the SDK version is 10.0.15063.0 but WDK version is 10.0.15063.468.
我在哪里可以下载正确版本的SDK?
where can I download the correct version of SDK?
推荐答案
转到项目属性,转到常规,目标平台,如果您看到10.0.15063.0以外的版本,请尝试选择它。
这篇关于无法在vs2015下编译示例驱动程序代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!