vsmartcard icon indicating copy to clipboard operation
vsmartcard copied to clipboard

How to build vpcd on Windows

Open Elfiadorn opened this issue 5 years ago • 3 comments

Can somebody please write down normal manual how to build vpcd on Windows ( 7 or 10 ). We are trying for many days and still getting same errors. So please can somebody refer to which VS studio are you using (best would be build number or link) and WDK version (build number). And probably how to config that VS to start working.

This are errors we are getting:

  • The build tool for WindowsKernelModeDriver10.0 cannot be found
  • midl.exe cannot be found
  • wudfddi.idl cannot be found
  • VirtualSCReader.h cannot be found and others.

We tried many solutions from many sources and nothing is working. So i'm just wondering if anybody try it to build and how. Many thanks guys.

Elfiadorn avatar Sep 02 '19 21:09 Elfiadorn

Same issue on my side. Additionally getting an error on Windows 10 with Visual Studio 2017 : Can't load Microsoft.DriverKit.Build.Tasks.15.dll assembly, even the assembly available on the path.

Windows SDK : 10.0.10586.0 10.0.14393.0 10.0.16299.0 10.0.17763.0

Thx a lot!

ptesar-xyndata avatar Sep 03 '19 03:09 ptesar-xyndata

Any progress with this issue?

HellLeaf avatar Feb 23 '20 15:02 HellLeaf

I was able to build it on Windows 10 with Visual Studio Comunity 2019 Now important note: Each version of windows SDK and Windows Driver Kit are tailored specificaly for each Windows version, so you must download and install the version that matches your windows version.

Steps:

  • Download VS 2019 community
  • Install It with C++ support
  • Install Windows SDK matching the Windows version
  • Install Windows Driver Kit matching Windows version (https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk) (Go for section 2, since you already installed Windows SDK)
  • Update project properties to use the correct plataform
  • Build away.

sorcerer86pt avatar Aug 18 '20 17:08 sorcerer86pt