Compiling resources ...
Compiling ...
BasicPCIDriver.cpp
F:\PROGRA ~ 1\COMPUW ~ 1\DRIVER ~ 1\DRIVER ~ 4\include\dep_wdm\wdm.h (6): fatal error C1189: #error: Invalid wdm.h! Check include path. Wdm.h should be in the DDK directory defined by $ (WDM_INC_PATH)
BasicPCIDevice.cpp
F:\PROGRA ~ 1\COMPUW ~ 1\DRIVER ~ 1\DRIVER ~ 4\include\dep_wdm\wdm.h (6): fatal error C1189: #error: Invalid wdm.h! Check include path. Wdm.h should be in the DDK directory defined by $ (WDM_INC_PATH)
Generating Code ...
Error executing cl.exe.
BasicPCI.sys-1 error (s), 0 warning (s)
The following environment variables were not found
$ (CRT_INC_PATH)
$ (TARGET_INC_PATH)
$ (WDM_INC_PATH)
$ (DDK_INC_PATH)
$ (WINVER)
$ (NTDDI_VERSION)
$ (_ WIN32_IE)
$ (_ WIN32_WINNT)
How to deal with it
Install the DDK first, then install DriverStudio, VS set the DDK include directory and lib directory, after installation, open the settings tool of DriverStudio to set the DDK directory