无法打开包含文件:'ntddk.h':没有这样的文件或目录 [英] Cannot open include file: 'ntddk.h': No such file or directory

查看:5214
本文介绍了无法打开包含文件:'ntddk.h':没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试建立我的驱动程序时收到此错误:



Driver.cpp(7):致命错误C1083:无法打开包含文件:'ntddk .h':没有这样的文件或目录



我使用安装了WDK 8.1的Visual Studio 2012(我没有在VS中配置任何内容)。

$ b

解决方案

您需要Visual Studio 2013 for WDK 8.1



报价


重要提示:在安装WDK 8.1 Update之前,需要安装
Visual Studio 2013.



I am getting this error when I am trying to build my driver:

Driver.cpp(7): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory

I am using Visual Studio 2012 with WDK 8.1 installed (I have not cinfigured anything in VS).

Any help is appreciated.

解决方案

You need Visual Studio 2013 for WDK 8.1

Quote :

Important: Before installing WDK 8.1 Update, you need to install Visual Studio 2013. See the Visual Studio links on this page.

这篇关于无法打开包含文件:'ntddk.h':没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆