且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法打开包含文件:'ntddk.h':没有这样的文件或目录

更新时间:2023-02-23 08:19:06

您需要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.