shauleiz / vJoy

Virtual Joystick
http://vjoystick.sourceforge.net
MIT License
616 stars 170 forks source link

Can not build the project on win10/11 with vs2019 #69

Closed Amir-ht closed 9 months ago

Amir-ht commented 1 year ago

Hi

I have just pulled the repository and ran the "vjoy.sln" file with vs2019 after compile the project i get this error from "hidkmdf.c and vjoy.h" files in their project.

Error -> C1083 Cannot open include file: 'wdm.h': No such file or directory hidkmdf
Error -> C1083 Cannot open include file: 'Ntddk.h': No such file or directory vjoy

error

for the more information I have already installed all version of WDK and all dependencies that mentioned in the git note.

njz3 commented 1 year ago

You probably have a bad installation of the WDK or SDK. Just tried on VS2022 with latest WDK and SDK and was able to compile.