virtio-win / kvm-guest-drivers-windows

Windows paravirtualized drivers for QEMU\KVM
https://www.linux-kvm.org/page/WindowsGuestDrivers
BSD 3-Clause "New" or "Revised" License
1.93k stars 377 forks source link

Cannot open include file: 'ntddk.h': No such file or directory #271

Closed morphinz closed 6 years ago

morphinz commented 6 years ago

I cant build on fresh install Windows10x64-1703 using VS15

When I run buildAll.bat from command line I get error and i can't compile.

1>d:\work-space\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
1>  VirtIOPCILegacy.c
1>d:\work-space\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory

But i have ntddk.h in these directorys;

ekran resmi 2018-04-11 19 14 39

My tools versions are: ekran resmi 2018-04-11 19 32 49

If I install Latest WDK (10.1.16299.15)I got these errors. https://paste.ubuntu.com/p/r2HXj4vDXk/

I installed everything you mentioned at "Tools needed for driver build" with this order:

  1. VS15.3 (While installing it C++ fully checked, rest was default)
  2. WDK: Win 8.1 = https://www.microsoft.com/en-us/download/details.aspx?id=42273
  3. WDK: Win 10 = http://go.microsoft.com/fwlink/p/?LinkId=526733
  4. SDK : https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
  5. CPDK: https://www.microsoft.com/en-us/download/confirmation.aspx?id=30688
  6. ADK : https://www.microsoft.com/en-us/download/details.aspx?id=39982

What is the problem?

YanVugenfirer commented 6 years ago

Hi,

Thank you for reporting the issue. Unfortunately, you didn't provide what exact configuration failed to compile. I will have a wild guess here that it is Windows XP or Windows Server 2003 configuration. You are missing Win7 WDK installation ( https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/Building-the-drivers

Best regards, Yan.

On Wed, Apr 11, 2018 at 7:03 PM, morphinz notifications@github.com wrote:

I cant build on fresh install Windows10x64-1703 using VS15

When I run buildAll.bat from command line I get error and i can't compile.

1>d:\work-space\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory 1> VirtIOPCILegacy.c 1>d:\work-space\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory

I installed everything you mentioned at "Tools needed for driver build" with this order:

  1. VS15.3 (While installing it C++ fully checked, rest was default)
  2. WDK: Win 8.1 = https://www.microsoft.com/en- us/download/details.aspx?id=42273 https://www.microsoft.com/en-us/download/details.aspx?id=42273
  3. WDK: Win 10 = http://go.microsoft.com/fwlink/p/?LinkId=526733
  4. SDK : https://developer.microsoft.com/en-us/windows/downloads/ windows-10-sdk
  5. CPDK: https://www.microsoft.com/en-us/download/confirmation.aspx? id=30688
  6. ADK : https://www.microsoft.com/en-us/download/details.aspx?id=39982

What is the problem here?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/virtio-win/kvm-guest-drivers-windows/issues/271, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDkWL6esRe2w2R41NVoqZXcJDu0dZ4sks5tnilEgaJpZM4TQUG1 .

--

Daynix Computing LTD Yan Vugenfirer, CEO Email: yan@daynix.com Phone (Israel): +972-54-4758084 Phone (USA): +1-7204776716 Phone (UK): +44-2070482938 Web: www.daynix.com

morphinz commented 6 years ago

@YanVugenfirer Thank you for the quick reply.

I was trying to build only win10 drivers. This is my full log and also I installed Win7 WDK too right now.

PS D:\kvm-guest-drivers-windows-master> .\buildAll.bat win10
Building virtio-win.sln, configuration "Win10 Release|x86", command /Build

Microsoft Visual Studio 2015 Version 14.0.25420.1.
Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio expires in 29 days.
1>------ Build started: Project: VirtioLib, Configuration: Win10 Release Win32 ------
2>------ Build started: Project: pvpanic (pvpanic\pvpanic), Configuration: Win10 Release Win32 ------
2>  Building 'pvpanic' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
1>  Building 'VirtioLib' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
2>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
1>  VirtIOPCICommon.c
1>d:\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
1>  VirtIOPCILegacy.c
1>d:\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
1>  VirtIOPCIModern.c
1>d:\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
1>  VirtIORing.c
1>d:\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
1>  Generating Code...
3>------ Build started: Project: VirtioLib-WDF, Configuration: Win10 Release Win32 ------
4>------ Build started: Project: vioser-test, Configuration: Win10 Release Win32 ------
4>  Building 'vioser-test' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
3>  Building 'VirtioLib-WDF' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
3>  MemPortIO.c
3>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
3>  VirtIOWdf.c
3>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
3>  PCI.c
3>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
3>  Callbacks.c
3>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
3>  Generating Code...
4>  device.cpp
5>------ Build started: Project: viocrypt (viocrypt\viocrypt), Configuration: Win10 Release Win32 ------
5>  Building 'viocrypt' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
5>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
4>  main.cpp
4>  notifier.cpp
4>LINK : fatal error LNK1181: cannot open input file 'C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\km\x86\\cfg_support_v1.lib'
6>------ Build started: Project: viorng (viorng\viorng), Configuration: Win10 Release Win32 ------
6>  Building 'viorng' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
6>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
7>------ Build started: Project: netkvmco-vs2015, Configuration: Win10 Release Win32 ------
7>  Building 'netkvmco-vs2015' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
8>------ Build started: Project: blnsvr, Configuration: Win10 Release Win32 ------
8>  Building 'blnsvr' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
7>  stdafx_src.cpp
8>  stdafx.cpp
8>  device.cpp
8>  main.cpp
8>  memstat.cpp
8>  service.cpp
8>  utils.cpp
8>LINK : fatal error LNK1181: cannot open input file 'C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\km\x86\\cfg_support_v1.lib'
9>------ Build started: Project: Mof, Configuration: Header Win32 ------
7>  exception.cpp
7>  netkvmaux.cpp
7>  netkvmnetsh.cpp
7>  regaccess.cpp
7>  regparam.cpp
7>  tstrings.cpp
7>  netkvmco.c
9>  Microsoft (R) MOF Compiler Version 10.0.16299.15
9>  Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
9>  Parsing MOF file: ..\Common\netkvm.mof
9>  MOF file has been successfully parsed
9>  Storing Binary MOF data in .\netkvm.bmf
9>  Done!
9>  Microsoft (R) WDM Extensions To WMI MOF Checking Utility  Version 1.50.0000
9>  Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.
9>
9>  Binary mof file .\netkvm.bmf expanded to 3228 bytes
10>------ Build started: Project: hidpassthrough, Configuration: Win10 Release Win32 ------
10>  Building 'hidpassthrough' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
10>  hidpassthrough.c
10>hidpassthrough.c(32): fatal error C1083: Cannot open include file: 'wdm.h': No such file or directory
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(1407,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\rc.exe" is invalid.
11>------ Build started: Project: viostor (viostor\viostor), Configuration: Win10 Release Win32 ------
11>  Building 'viostor' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
11>  Stamping objfre_win10_x86\i386\viostor.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
11>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\viostor\viostor.inx stamped as objfre_win10_x86\i386\viostor.inf
11>  Processing file D:\kvm-guest-drivers-windows-master\viostor\objfre_win10_x86\i386\viostor.inf
11>  Saving original context to: D:\kvm-guest-drivers-windows-master\viostor\objfre_win10_x86\i386\viostor.inf.orig
11>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\viostor\objfre_win10_x86\i386\viostor.inf.new
11>  virtio_pci.c
11>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
11>  virtio_stor.c
11>d:\kvm-guest-drivers-windows-master\viostor\virtio_stor.h(34): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
11>  virtio_stor_hw_helper.c
11>d:\kvm-guest-drivers-windows-master\viostor\virtio_stor_hw_helper.h(36): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
11>  virtio_stor_utils.c
11>d:\kvm-guest-drivers-windows-master\viostor\virtio_stor_utils.h(33): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
11>  Generating Code...
12>------ Build started: Project: vioser, Configuration: Win10 Release Win32 ------
12>  Building 'vioser' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
12>  Stamping objfre_win10_x86\i386\vioser.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
13>------ Build started: Project: vioscsi (vioscsi\vioscsi), Configuration: Win10 Release Win32 ------
12>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\vioserial\sys\vioser.inx stamped as objfre_win10_x86\i386\vioser.inf
13>  Building 'vioscsi' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
12>  Processing file D:\kvm-guest-drivers-windows-master\vioserial\sys\objfre_win10_x86\i386\vioser.inf
12>  Saving original context to: D:\kvm-guest-drivers-windows-master\vioserial\sys\objfre_win10_x86\i386\vioser.inf.orig
12>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\vioserial\sys\objfre_win10_x86\i386\vioser.inf.new
13>  Stamping objfre_win10_x86\i386\vioscsi.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
13>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\vioscsi\vioscsi.inx stamped as objfre_win10_x86\i386\vioscsi.inf
13>  Processing file D:\kvm-guest-drivers-windows-master\vioscsi\objfre_win10_x86\i386\vioscsi.inf
13>  Saving original context to: D:\kvm-guest-drivers-windows-master\vioscsi\objfre_win10_x86\i386\vioscsi.inf.orig
13>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\vioscsi\objfre_win10_x86\i386\vioscsi.inf.new
12>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
13>  Microsoft (R) MOF Compiler Version 10.0.16299.15
13>  Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
13>  Parsing MOF file: vioscsi.mof
13>  MOF file has been successfully parsed
13>  Storing Binary MOF data in objfre_win10_x86\i386\vioscsi.bmf
13>  Done!
13>  helper.c
13>d:\kvm-guest-drivers-windows-master\vioscsi\helper.h(36): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
13>  utils.c
13>d:\kvm-guest-drivers-windows-master\vioscsi\utils.h(33): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
13>  vioscsi.c
13>d:\kvm-guest-drivers-windows-master\vioscsi\vioscsi.h(34): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
13>  virtio_pci.c
13>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
13>  Generating Code...
14>------ Build started: Project: VirtRNG Package, Configuration: Win10 Release Win32 ------
14>  Building 'VirtRNG Package' with toolset 'WindowsKernelModeDriver10.0' and the 'Desktop' target platform.
14>  Stamping Win32\Win10 Release\viorng.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
14>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\viorng\viorng\viorng.inf stamped as Win32\Win10 Release\viorng.inf
14>  Processing file D:\kvm-guest-drivers-windows-master\viorng\VirtRNG Package\Win32\Win10 Release\viorng.inf
14>  Saving original context to: D:\kvm-guest-drivers-windows-master\viorng\VirtRNG Package\Win32\Win10 Release\viorng.inf.orig
14>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\viorng\VirtRNG Package\Win32\Win10 Release\viorng.inf.new
14>D:\kvm-guest-drivers-windows-master\viorng\viorng\viorng.inf(98-98): warning 1304: Found legacy AddReg operation defining co-installers (CoInstallers32).
14>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1683,5): error MSB3030: Could not copy the file "D:\kvm-guest-drivers-windows-master\viorng\viorng\Win32\Win10 Release\viorng.sys" because it was not found.
15>------ Build started: Project: vioinput (vioinput\vioinput), Configuration: Win10 Release Win32 ------
15>  Building 'vioinput' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
15>  Stamping objfre_win10_x86\i386\vioinput.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
15>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\vioinput\sys\vioinput.inx stamped as objfre_win10_x86\i386\vioinput.inf
15>  Processing file D:\kvm-guest-drivers-windows-master\vioinput\sys\objfre_win10_x86\i386\vioinput.inf
15>  Saving original context to: D:\kvm-guest-drivers-windows-master\vioinput\sys\objfre_win10_x86\i386\vioinput.inf.orig
15>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\vioinput\sys\objfre_win10_x86\i386\vioinput.inf.new
15>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
16>------ Build started: Project: PVPanic Package, Configuration: Win10 Release Win32 ------
17>------ Build started: Project: NetKVM-VS2015, Configuration: Win10 Release Win32 ------
17>  Building 'NetKVM-VS2015' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
17>  Stamping x86\Win10Release\netkvm.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
17>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\NetKVM\netkvm.inx stamped as x86\Win10Release\netkvm.inf
17>  Processing file D:\kvm-guest-drivers-windows-master\NetKVM\x86\Win10Release\netkvm.inf
17>  Saving original context to: D:\kvm-guest-drivers-windows-master\NetKVM\x86\Win10Release\netkvm.inf.orig
17>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\NetKVM\x86\Win10Release\netkvm.inf.new
17>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
16>  Building 'PVPanic Package' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
16>  Stamping Win32\Win10 Release\pvpanic.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
16>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\pvpanic\pvpanic\pvpanic.inf stamped as Win32\Win10 Release\pvpanic.inf
16>  Processing file D:\kvm-guest-drivers-windows-master\pvpanic\PVPanic Package\Win32\Win10 Release\pvpanic.inf
16>  Saving original context to: D:\kvm-guest-drivers-windows-master\pvpanic\PVPanic Package\Win32\Win10 Release\pvpanic.inf.orig
16>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\pvpanic\PVPanic Package\Win32\Win10 Release\pvpanic.inf.new
16>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1683,5): error MSB3030: Could not copy the file "D:\kvm-guest-drivers-windows-master\pvpanic\pvpanic\Win32\Win10 Release\pvpanic.sys" because it was not found.
18>------ Build started: Project: balloon (Balloon\balloon), Configuration: Win10 Release Win32 ------
19>------ Build started: Project: ivshmem (ivshmem\ivshmem), Configuration: Win10 Release Win32 ------
18>  Building 'balloon' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
19>  Building 'ivshmem' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
18>  Stamping objfre_win10_x86\i386\balloon.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
18>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\Balloon\sys\balloon.inx stamped as objfre_win10_x86\i386\balloon.inf
18>  Processing file D:\kvm-guest-drivers-windows-master\Balloon\sys\objfre_win10_x86\i386\balloon.inf
18>  Saving original context to: D:\kvm-guest-drivers-windows-master\Balloon\sys\objfre_win10_x86\i386\balloon.inf.orig
18>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\Balloon\sys\objfre_win10_x86\i386\balloon.inf.new
19>  Stamping objfre_win10_x86\i386\ivshmem.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
18>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
19>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\ivshmem\ivshmem.inf stamped as objfre_win10_x86\i386\ivshmem.inf
19>  Processing file D:\kvm-guest-drivers-windows-master\ivshmem\objfre_win10_x86\i386\ivshmem.inf
19>  Saving original context to: D:\kvm-guest-drivers-windows-master\ivshmem\objfre_win10_x86\i386\ivshmem.inf.orig
19>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\ivshmem\objfre_win10_x86\i386\ivshmem.inf.new
19>  Device.c
19>d:\kvm-guest-drivers-windows-master\ivshmem\driver.h(1): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
19>  Driver.c
19>d:\kvm-guest-drivers-windows-master\ivshmem\driver.h(1): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
19>  Queue.c
19>d:\kvm-guest-drivers-windows-master\ivshmem\driver.h(1): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
19>  Generating Code...
20>------ Build started: Project: VIOCRYPT package, Configuration: Win10 Release Win32 ------
20>  Building 'VIOCRYPT package' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
20>  Stamping Win32\Win10 Release\viocrypt.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
20>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\viocrypt\sys\viocrypt.inf stamped as Win32\Win10 Release\viocrypt.inf
20>  Processing file D:\kvm-guest-drivers-windows-master\viocrypt\package\Win32\Win10 Release\viocrypt.inf
20>  Saving original context to: D:\kvm-guest-drivers-windows-master\viocrypt\package\Win32\Win10 Release\viocrypt.inf.orig
20>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\viocrypt\package\Win32\Win10 Release\viocrypt.inf.new
20>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1683,5): error MSB3030: Could not copy the file "D:\kvm-guest-drivers-windows-master\viocrypt\sys\Win32\Win10 Release\viocrypt.sys" because it was not found.
========== Build: 1 succeeded, 19 failed, 7 up-to-date, 0 skipped ==========

Build with Visual Studio FAILED
PS D:\kvm-guest-drivers-windows-master>

When I try to build all ı got these logs.

PS D:\kvm-guest-drivers-windows-master> .\buildAll.bat win10
Building virtio-win.sln, configuration "Win10 Release|x86", command /Build

Microsoft Visual Studio 2015 Version 14.0.25420.1.
Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio expires in 29 days.
1>------ Build started: Project: VirtioLib, Configuration: Win10 Release Win32 ------
2>------ Build started: Project: pvpanic (pvpanic\pvpanic), Configuration: Win10 Release Win32 ------
2>  Building 'pvpanic' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
1>  Building 'VirtioLib' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
2>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
1>  VirtIOPCICommon.c
1>d:\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
1>  VirtIOPCILegacy.c
1>d:\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
1>  VirtIOPCIModern.c
1>d:\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
1>  VirtIORing.c
1>d:\kvm-guest-drivers-windows-master\virtio\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
1>  Generating Code...
3>------ Build started: Project: VirtioLib-WDF, Configuration: Win10 Release Win32 ------
4>------ Build started: Project: vioser-test, Configuration: Win10 Release Win32 ------
4>  Building 'vioser-test' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
3>  Building 'VirtioLib-WDF' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
3>  MemPortIO.c
3>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
3>  VirtIOWdf.c
3>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
3>  PCI.c
3>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
3>  Callbacks.c
3>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
3>  Generating Code...
4>  device.cpp
5>------ Build started: Project: viocrypt (viocrypt\viocrypt), Configuration: Win10 Release Win32 ------
5>  Building 'viocrypt' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
5>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
4>  main.cpp
4>  notifier.cpp
4>LINK : fatal error LNK1181: cannot open input file 'C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\km\x86\\cfg_support_v1.lib'
6>------ Build started: Project: viorng (viorng\viorng), Configuration: Win10 Release Win32 ------
6>  Building 'viorng' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
6>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
7>------ Build started: Project: netkvmco-vs2015, Configuration: Win10 Release Win32 ------
7>  Building 'netkvmco-vs2015' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
8>------ Build started: Project: blnsvr, Configuration: Win10 Release Win32 ------
8>  Building 'blnsvr' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
7>  stdafx_src.cpp
8>  stdafx.cpp
8>  device.cpp
8>  main.cpp
8>  memstat.cpp
8>  service.cpp
8>  utils.cpp
8>LINK : fatal error LNK1181: cannot open input file 'C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\km\x86\\cfg_support_v1.lib'
9>------ Build started: Project: Mof, Configuration: Header Win32 ------
7>  exception.cpp
7>  netkvmaux.cpp
7>  netkvmnetsh.cpp
7>  regaccess.cpp
7>  regparam.cpp
7>  tstrings.cpp
7>  netkvmco.c
9>  Microsoft (R) MOF Compiler Version 10.0.16299.15
9>  Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
9>  Parsing MOF file: ..\Common\netkvm.mof
9>  MOF file has been successfully parsed
9>  Storing Binary MOF data in .\netkvm.bmf
9>  Done!
9>  Microsoft (R) WDM Extensions To WMI MOF Checking Utility  Version 1.50.0000
9>  Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.
9>
9>  Binary mof file .\netkvm.bmf expanded to 3228 bytes
10>------ Build started: Project: hidpassthrough, Configuration: Win10 Release Win32 ------
10>  Building 'hidpassthrough' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
10>  hidpassthrough.c
10>hidpassthrough.c(32): fatal error C1083: Cannot open include file: 'wdm.h': No such file or directory
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(1407,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\rc.exe" is invalid.
11>------ Build started: Project: viostor (viostor\viostor), Configuration: Win10 Release Win32 ------
11>  Building 'viostor' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
11>  Stamping objfre_win10_x86\i386\viostor.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
11>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\viostor\viostor.inx stamped as objfre_win10_x86\i386\viostor.inf
11>  Processing file D:\kvm-guest-drivers-windows-master\viostor\objfre_win10_x86\i386\viostor.inf
11>  Saving original context to: D:\kvm-guest-drivers-windows-master\viostor\objfre_win10_x86\i386\viostor.inf.orig
11>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\viostor\objfre_win10_x86\i386\viostor.inf.new
11>  virtio_pci.c
11>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
11>  virtio_stor.c
11>d:\kvm-guest-drivers-windows-master\viostor\virtio_stor.h(34): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
11>  virtio_stor_hw_helper.c
11>d:\kvm-guest-drivers-windows-master\viostor\virtio_stor_hw_helper.h(36): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
11>  virtio_stor_utils.c
11>d:\kvm-guest-drivers-windows-master\viostor\virtio_stor_utils.h(33): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
11>  Generating Code...
12>------ Build started: Project: vioser, Configuration: Win10 Release Win32 ------
12>  Building 'vioser' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
12>  Stamping objfre_win10_x86\i386\vioser.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
13>------ Build started: Project: vioscsi (vioscsi\vioscsi), Configuration: Win10 Release Win32 ------
12>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\vioserial\sys\vioser.inx stamped as objfre_win10_x86\i386\vioser.inf
13>  Building 'vioscsi' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
12>  Processing file D:\kvm-guest-drivers-windows-master\vioserial\sys\objfre_win10_x86\i386\vioser.inf
12>  Saving original context to: D:\kvm-guest-drivers-windows-master\vioserial\sys\objfre_win10_x86\i386\vioser.inf.orig
12>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\vioserial\sys\objfre_win10_x86\i386\vioser.inf.new
13>  Stamping objfre_win10_x86\i386\vioscsi.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
13>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\vioscsi\vioscsi.inx stamped as objfre_win10_x86\i386\vioscsi.inf
13>  Processing file D:\kvm-guest-drivers-windows-master\vioscsi\objfre_win10_x86\i386\vioscsi.inf
13>  Saving original context to: D:\kvm-guest-drivers-windows-master\vioscsi\objfre_win10_x86\i386\vioscsi.inf.orig
13>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\vioscsi\objfre_win10_x86\i386\vioscsi.inf.new
12>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
13>  Microsoft (R) MOF Compiler Version 10.0.16299.15
13>  Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
13>  Parsing MOF file: vioscsi.mof
13>  MOF file has been successfully parsed
13>  Storing Binary MOF data in objfre_win10_x86\i386\vioscsi.bmf
13>  Done!
13>  helper.c
13>d:\kvm-guest-drivers-windows-master\vioscsi\helper.h(36): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
13>  utils.c
13>d:\kvm-guest-drivers-windows-master\vioscsi\utils.h(33): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
13>  vioscsi.c
13>d:\kvm-guest-drivers-windows-master\vioscsi\vioscsi.h(34): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
13>  virtio_pci.c
13>D:\kvm-guest-drivers-windows-master\VirtIO\osdep.h(17): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
13>  Generating Code...
14>------ Build started: Project: VirtRNG Package, Configuration: Win10 Release Win32 ------
14>  Building 'VirtRNG Package' with toolset 'WindowsKernelModeDriver10.0' and the 'Desktop' target platform.
14>  Stamping Win32\Win10 Release\viorng.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
14>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\viorng\viorng\viorng.inf stamped as Win32\Win10 Release\viorng.inf
14>  Processing file D:\kvm-guest-drivers-windows-master\viorng\VirtRNG Package\Win32\Win10 Release\viorng.inf
14>  Saving original context to: D:\kvm-guest-drivers-windows-master\viorng\VirtRNG Package\Win32\Win10 Release\viorng.inf.orig
14>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\viorng\VirtRNG Package\Win32\Win10 Release\viorng.inf.new
14>D:\kvm-guest-drivers-windows-master\viorng\viorng\viorng.inf(98-98): warning 1304: Found legacy AddReg operation defining co-installers (CoInstallers32).
14>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1683,5): error MSB3030: Could not copy the file "D:\kvm-guest-drivers-windows-master\viorng\viorng\Win32\Win10 Release\viorng.sys" because it was not found.
15>------ Build started: Project: vioinput (vioinput\vioinput), Configuration: Win10 Release Win32 ------
15>  Building 'vioinput' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
15>  Stamping objfre_win10_x86\i386\vioinput.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
15>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\vioinput\sys\vioinput.inx stamped as objfre_win10_x86\i386\vioinput.inf
15>  Processing file D:\kvm-guest-drivers-windows-master\vioinput\sys\objfre_win10_x86\i386\vioinput.inf
15>  Saving original context to: D:\kvm-guest-drivers-windows-master\vioinput\sys\objfre_win10_x86\i386\vioinput.inf.orig
15>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\vioinput\sys\objfre_win10_x86\i386\vioinput.inf.new
15>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
16>------ Build started: Project: PVPanic Package, Configuration: Win10 Release Win32 ------
17>------ Build started: Project: NetKVM-VS2015, Configuration: Win10 Release Win32 ------
17>  Building 'NetKVM-VS2015' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
17>  Stamping x86\Win10Release\netkvm.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
17>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\NetKVM\netkvm.inx stamped as x86\Win10Release\netkvm.inf
17>  Processing file D:\kvm-guest-drivers-windows-master\NetKVM\x86\Win10Release\netkvm.inf
17>  Saving original context to: D:\kvm-guest-drivers-windows-master\NetKVM\x86\Win10Release\netkvm.inf.orig
17>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\NetKVM\x86\Win10Release\netkvm.inf.new
17>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
16>  Building 'PVPanic Package' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
16>  Stamping Win32\Win10 Release\pvpanic.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
16>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\pvpanic\pvpanic\pvpanic.inf stamped as Win32\Win10 Release\pvpanic.inf
16>  Processing file D:\kvm-guest-drivers-windows-master\pvpanic\PVPanic Package\Win32\Win10 Release\pvpanic.inf
16>  Saving original context to: D:\kvm-guest-drivers-windows-master\pvpanic\PVPanic Package\Win32\Win10 Release\pvpanic.inf.orig
16>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\pvpanic\PVPanic Package\Win32\Win10 Release\pvpanic.inf.new
16>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1683,5): error MSB3030: Could not copy the file "D:\kvm-guest-drivers-windows-master\pvpanic\pvpanic\Win32\Win10 Release\pvpanic.sys" because it was not found.
18>------ Build started: Project: balloon (Balloon\balloon), Configuration: Win10 Release Win32 ------
19>------ Build started: Project: ivshmem (ivshmem\ivshmem), Configuration: Win10 Release Win32 ------
18>  Building 'balloon' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
19>  Building 'ivshmem' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
18>  Stamping objfre_win10_x86\i386\balloon.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
18>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\Balloon\sys\balloon.inx stamped as objfre_win10_x86\i386\balloon.inf
18>  Processing file D:\kvm-guest-drivers-windows-master\Balloon\sys\objfre_win10_x86\i386\balloon.inf
18>  Saving original context to: D:\kvm-guest-drivers-windows-master\Balloon\sys\objfre_win10_x86\i386\balloon.inf.orig
18>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\Balloon\sys\objfre_win10_x86\i386\balloon.inf.new
19>  Stamping objfre_win10_x86\i386\ivshmem.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
18>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(799,5): error MSB6004: The specified task executable location "C:\Program Files (x86)\Windows Kits\10\bin\x86\tracewpp.exe" is invalid.
19>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\ivshmem\ivshmem.inf stamped as objfre_win10_x86\i386\ivshmem.inf
19>  Processing file D:\kvm-guest-drivers-windows-master\ivshmem\objfre_win10_x86\i386\ivshmem.inf
19>  Saving original context to: D:\kvm-guest-drivers-windows-master\ivshmem\objfre_win10_x86\i386\ivshmem.inf.orig
19>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\ivshmem\objfre_win10_x86\i386\ivshmem.inf.new
19>  Device.c
19>d:\kvm-guest-drivers-windows-master\ivshmem\driver.h(1): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
19>  Driver.c
19>d:\kvm-guest-drivers-windows-master\ivshmem\driver.h(1): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
19>  Queue.c
19>d:\kvm-guest-drivers-windows-master\ivshmem\driver.h(1): fatal error C1083: Cannot open include file: 'ntddk.h': No such file or directory
19>  Generating Code...
20>------ Build started: Project: VIOCRYPT package, Configuration: Win10 Release Win32 ------
20>  Building 'VIOCRYPT package' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
20>  Stamping Win32\Win10 Release\viocrypt.inf [Version] section with DriverVer=04/12/2018,100.6.101.58000
20>  AdjustInf_WDK: for D:\kvm-guest-drivers-windows-master\viocrypt\sys\viocrypt.inf stamped as Win32\Win10 Release\viocrypt.inf
20>  Processing file D:\kvm-guest-drivers-windows-master\viocrypt\package\Win32\Win10 Release\viocrypt.inf
20>  Saving original context to: D:\kvm-guest-drivers-windows-master\viocrypt\package\Win32\Win10 Release\viocrypt.inf.orig
20>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\viocrypt\package\Win32\Win10 Release\viocrypt.inf.new
20>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1683,5): error MSB3030: Could not copy the file "D:\kvm-guest-drivers-windows-master\viocrypt\sys\Win32\Win10 Release\viocrypt.sys" because it was not found.
========== Build: 1 succeeded, 19 failed, 7 up-to-date, 0 skipped ==========

Build with Visual Studio FAILED
PS D:\kvm-guest-drivers-windows-master>

When I install latest WDK (10.1.16299.15) I get different errors but no luck. I can't compile.

PS D:\kvm-guest-drivers-windows-master> .\buildAll.bat win10
Building virtio-win.sln, configuration "Win10 Release|x86", command /Build

Microsoft Visual Studio 2015 Version 14.0.25420.1.
Copyright (C) Microsoft Corp. All rights reserved.

The license for Visual Studio expires in 29 days.
1>------ Build started: Project: VirtioLib, Configuration: Win10 Release Win32 ------
2>------ Build started: Project: pvpanic (pvpanic\pvpanic), Configuration: Win10 Release Win32 ------
2>  Building 'pvpanic' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
2>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1526,9): error MSB4064: The "KitVersion" parameter is not supported by the "Telemetry" task. Verify the parameter exists on the task, and it is a settable public instance property.
2>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1524,5): error MSB4063: The "Telemetry" task could not be initialized with its input parameters.
3>------ Build started: Project: viorngci, Configuration: Win10 Release Win32 ------
1>  Building 'VirtioLib' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
1>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1526,9): error MSB4064: The "KitVersion" parameter is not supported by the "Telemetry" task. Verify the parameter exists on the task, and it is a settable public instance property.
1>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1524,5): error MSB4063: The "Telemetry" task could not be initialized with its input parameters.
3>  viorngci.c
4>------ Build started: Project: VirtioLib-WDF, Configuration: Win10 Release Win32 ------
4>  Building 'VirtioLib-WDF' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
4>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1526,9): error MSB4064: The "KitVersion" parameter is not supported by the "Telemetry" task. Verify the parameter exists on the task, and it is a settable public instance property.
4>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1524,5): error MSB4063: The "Telemetry" task could not be initialized with its input parameters.
3>     Creating library Win32\Win10 Release\viorngci.lib and object Win32\Win10 Release\viorngci.exp
3>  Generating code
3>  Finished generating code
3>  All 4 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
3>  viorngci.vcxproj -> D:\kvm-guest-drivers-windows-master\viorng\coinstaller\Win32\Win10 Release\viorngci.dll
3>  viorngci.vcxproj -> Win32\Win10 Release\viorngci.pdb (Full PDB)
5>------ Build started: Project: viocrypt (viocrypt\viocrypt), Configuration: Win10 Release Win32 ------
5>  Building 'viocrypt' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
5>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1526,9): error MSB4064: The "KitVersion" parameter is not supported by the "Telemetry" task. Verify the parameter exists on the task, and it is a settable public instance property.
5>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1524,5): error MSB4063: The "Telemetry" task could not be initialized with its input parameters.
6>------ Build started: Project: viorngum, Configuration: Win10 Release Win32 ------
7>------ Build started: Project: viorng (viorng\viorng), Configuration: Win10 Release Win32 ------
7>  Building 'viorng' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
7>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1526,9): error MSB4064: The "KitVersion" parameter is not supported by the "Telemetry" task. Verify the parameter exists on the task, and it is a settable public instance property.
7>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1524,5): error MSB4063: The "Telemetry" task could not be initialized with its input parameters.
6>  viorngum.c
6>     Creating library Win32\Win10 Release\viorngum.lib and object Win32\Win10 Release\viorngum.exp
6>  Generating code
6>  All 8 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
6>  Finished generating code
8>------ Build started: Project: vioser-test, Configuration: Win10 Release Win32 ------
8>  Building 'vioser-test' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
8>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1526,9): error MSB4064: The "KitVersion" parameter is not supported by the "Telemetry" task. Verify the parameter exists on the task, and it is a settable public instance property.
8>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1524,5): error MSB4063: The "Telemetry" task could not be initialized with its input parameters.
6>  viorngum.vcxproj -> D:\kvm-guest-drivers-windows-master\viorng\cng\um\Win32\Win10 Release\viorngum.dll
6>  viorngum.vcxproj -> Win32\Win10 Release\viorngum.pdb (Full PDB)
9>------ Build started: Project: netkvmco-vs2015, Configuration: Win10 Release Win32 ------
9>  Building 'netkvmco-vs2015' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
9>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1526,9): error MSB4064: The "KitVersion" parameter is not supported by the "Telemetry" task. Verify the parameter exists on the task, and it is a settable public instance property.
9>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1524,5): error MSB4063: The "Telemetry" task could not be initialized with its input parameters.
10>------ Build started: Project: NDIS5-Common, Configuration: Win2k3 Release Win32 ------
11>------ Build started: Project: blnsvr, Configuration: Win10 Release Win32 ------
11>  Building 'blnsvr' with toolset 'WindowsApplicationForDrivers10.0' and the 'Desktop' target platform.
11>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1526,9): error MSB4064: The "KitVersion" parameter is not supported by the "Telemetry" task. Verify the parameter exists on the task, and it is a settable public instance property.
11>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1524,5): error MSB4063: The "Telemetry" task could not be initialized with its input parameters.
10>  sw-offload.c
10>  ParaNdis-VirtIO.c
10>  ParaNdis-Oid.c
10>  ParaNdis-Debug.c
10>  ParaNdis-Common.c
10>  Generating Code...
10>  NDIS5-Common.vcxproj -> D:\kvm-guest-drivers-windows-master\NetKVM\NDIS5\Common\objfre_wnet_x86\i386\ndiscommon.lib
12>------ Build started: Project: Mof, Configuration: Header Win32 ------
12>  Microsoft (R) MOF Compiler Version 10.0.16299.15
12>  Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
12>  Parsing MOF file: ..\Common\netkvm.mof
12>  MOF file has been successfully parsed
12>  Storing Binary MOF data in .\netkvm.bmf
12>  Done!
12>  Microsoft (R) WDM Extensions To WMI MOF Checking Utility  Version 1.50.0000
12>  Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.
12>
12>  Binary mof file .\netkvm.bmf expanded to 3228 bytes
13>------ Build started: Project: hidpassthrough, Configuration: Win10 Release Win32 ------
14>------ Build started: Project: ivshmem-test, Configuration: Win10 Release Win32 ------
13>  Building 'hidpassthrough' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
13>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1526,9): error MSB4064: The "KitVersion" parameter is not supported by the "Telemetry" task. Verify the parameter exists on the task, and it is a settable public instance property.
13>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(1524,5): error MSB4063: The "Telemetry" task could not be initialized with its input parameters.
14>  stdafx.cpp
14>  ivshmem-test.cpp
15>------ Build started: Project: viostor (viostor\viostor), Configuration: Win10 Release Win32 ------
15>  Building 'viostor' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
15>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(476,9): error MSB4064: The "ProviderName" parameter is not supported by the "StampInf" task. Verify the parameter exists on the task, and it is a settable public instance property.
15>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB4063: The "StampInf" task could not be initialized with its input parameters.
14>  Generating code
14>  Finished generating code
14>  All 5 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
14>  ivshmem-test.vcxproj -> D:\kvm-guest-drivers-windows-master\ivshmem\test\objfre_win10_x86\i386\ivshmem-test.exe
14>  ivshmem-test.vcxproj -> objfre_win10_x86\i386\ivshmem-test.pdb (Full PDB)
14>          1 file(s) copied.
14>          1 file(s) copied.
16>------ Build started: Project: vioser, Configuration: Win10 Release Win32 ------
16>  Building 'vioser' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
16>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(476,9): error MSB4064: The "ProviderName" parameter is not supported by the "StampInf" task. Verify the parameter exists on the task, and it is a settable public instance property.
16>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB4063: The "StampInf" task could not be initialized with its input parameters.
17>------ Build started: Project: vioscsi (vioscsi\vioscsi), Configuration: Win10 Release Win32 ------
17>  Building 'vioscsi' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
18>------ Build started: Project: VirtRNG Package, Configuration: Win10 Release Win32 ------
17>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(476,9): error MSB4064: The "ProviderName" parameter is not supported by the "StampInf" task. Verify the parameter exists on the task, and it is a settable public instance property.
17>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB4063: The "StampInf" task could not be initialized with its input parameters.
18>  Building 'VirtRNG Package' with toolset 'WindowsKernelModeDriver10.0' and the 'Desktop' target platform.
18>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(476,9): error MSB4064: The "ProviderName" parameter is not supported by the "StampInf" task. Verify the parameter exists on the task, and it is a settable public instance property.
18>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB4063: The "StampInf" task could not be initialized with its input parameters.
19>------ Build started: Project: vioinput (vioinput\vioinput), Configuration: Win10 Release Win32 ------
19>  Building 'vioinput' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
19>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(476,9): error MSB4064: The "ProviderName" parameter is not supported by the "StampInf" task. Verify the parameter exists on the task, and it is a settable public instance property.
19>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB4063: The "StampInf" task could not be initialized with its input parameters.
20>------ Build started: Project: PVPanic Package, Configuration: Win10 Release Win32 ------
20>  Building 'PVPanic Package' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
20>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(476,9): error MSB4064: The "ProviderName" parameter is not supported by the "StampInf" task. Verify the parameter exists on the task, and it is a settable public instance property.
20>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB4063: The "StampInf" task could not be initialized with its input parameters.
21>------ Build started: Project: NetKVM-VS2015, Configuration: Win10 Release Win32 ------
21>  Building 'NetKVM-VS2015' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
21>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(476,9): error MSB4064: The "ProviderName" parameter is not supported by the "StampInf" task. Verify the parameter exists on the task, and it is a settable public instance property.
21>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB4063: The "StampInf" task could not be initialized with its input parameters.
22>------ Build started: Project: NetKVM-NDIS5, Configuration: Win2k3 Release Win32 ------
22>  AdjustInf_LegacyDDK: for wxp\netkvm.inx to objfre_wnet_x86\i386\netkvm.inf
22>  Processing file D:\kvm-guest-drivers-windows-master\NetKVM\NDIS5\objfre_wnet_x86\i386\netkvm.inf
22>  Saving original context to: D:\kvm-guest-drivers-windows-master\NetKVM\NDIS5\objfre_wnet_x86\i386\netkvm.inf.orig
22>  Saving replaced context to: D:\kvm-guest-drivers-windows-master\NetKVM\NDIS5\objfre_wnet_x86\i386\netkvm.inf.new
22>  StampInf_LegacyDDK: for objfre_wnet_x86\i386\netkvm.inf with Feature_UsingWDF=false and STAMPINF_VERSION=52.6.101.58000
22>  Stamping objfre_wnet_x86\i386\netkvm.inf [Version] section with DriverVer=04/12/2018,52.6.101.58000
22>  ParaNdis5-Driver.c
22>  ParaNdis5-Impl.c
23>------ Build started: Project: balloon (Balloon\balloon), Configuration: Win10 Release Win32 ------
22>  ParaNdis5-Oid.c
23>  Building 'balloon' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
23>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(476,9): error MSB4064: The "ProviderName" parameter is not supported by the "StampInf" task. Verify the parameter exists on the task, and it is a settable public instance property.
23>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB4063: The "StampInf" task could not be initialized with its input parameters.
22>  Generating Code...
22>LINK : fatal error LNK1181: cannot open input file 'virtiolib.lib'
24>------ Build started: Project: ivshmem (ivshmem\ivshmem), Configuration: Win10 Release Win32 ------
24>  Building 'ivshmem' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
24>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(476,9): error MSB4064: The "ProviderName" parameter is not supported by the "StampInf" task. Verify the parameter exists on the task, and it is a settable public instance property.
24>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB4063: The "StampInf" task could not be initialized with its input parameters.
25>------ Build started: Project: VIOCRYPT package, Configuration: Win10 Release Win32 ------
25>  Building 'VIOCRYPT package' with toolset 'WindowsKernelModeDriver10.0' and the 'Universal' target platform.
25>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(476,9): error MSB4064: The "ProviderName" parameter is not supported by the "StampInf" task. Verify the parameter exists on the task, and it is a settable public instance property.
25>C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets(460,5): error MSB4063: The "StampInf" task could not be initialized with its input parameters.
========== Build: 5 succeeded, 20 failed, 2 up-to-date, 0 skipped ==========

Build with Visual Studio FAILED
vrozenfe commented 6 years ago

might be a problem with Win10 WDK (IIRC VS2015 doesn't work well with the the latest WDKs). Try to downgrade it. I have 10586 on one of my build systems and it works fine.

morphinz commented 6 years ago

@vrozenfe Yes the problem is WDK and SDK versions. Thank you. I just installed these versions and problem solved now. WDK= 10.1.15063.0
SDK= 10.1.15063.468
WDK 8.1 = 8.100.26846