1. 程式人生 > >An SDK corresponding to WDK version '8 1' was not found Ple

An SDK corresponding to WDK version '8 1' was not found Ple

               

安裝了VS2015加WDK10,新建了KMDF工程時編譯時報了上述錯誤。是需要下載安裝windows10的SDK。

出現這種情況,你可能是缺少了第三步,檢查下面的各項安裝是否完備:

        一般來說, Visual Studio 2015 支援 WDK 10. Visual Studio 2013 支援 WDK 8.1.在我的環境下, Visual Studio 2015 可能不支援 WDK 8.1. 當編譯在Windows UserModeDriver8.1 用 VS2015, 將出現一個錯誤: prop is not found.

WDK 10 支援編譯驅動在 Windows 10 / 8.1 / 8 (/ 7sp1).

To build Windows 8.1 driver, follow below.

  1. Open project properties
  2. Navigate to Configuration Properties > General
  3. Check: Platform Toolset Windows****ModeDriver10.0
  4. Navigate to Configuration Properties > Driver settings
  5. Check: Target OS Version: Windows 8.1
  6. Check: Target Platform: Desktop (Default: Universal)