forked from george-hopkins/usbip-windows
-
Notifications
You must be signed in to change notification settings - Fork 349
How to build
KyungWoon Cho edited this page Jan 15, 2021
·
1 revision
- Build is tested on Windows 10(x64) and the projects are configured for this target by default.
- Both x86/x64 platforms would be supported. However, x86 platform is usually not tested frequently.
- For Windows 7 users, change usbip_stub and usbip_vhci projects' Target OS version to Windows 7. Right-click on the project > Properties > Driver Settings > Target OS version > Windows 7
- Visual Studio 2019 Community(v142)
- Build with VS 2017(v141) is also possible if platform toolset in setting is configured to v141
- Windows SDK 10.0.18362.0(recommended)
- VS 2019(v142): requires >= 10.0.18xxx
- VS 2017(v141): requires >= 10.0.17xxx
- Windows Driver Kit Windows 10, version 1903 (10.0.18362)
- WDK 10.0.17134(1803), 10.0.17763(1809), 10.0.18346 are also tested
-
Open usbip_win.sln
-
If VS 2017 is used, SDK version for userspace projects(usbip, usbip_common, usbipd, stubctl) should be adjusted.
-
Set certificate driver signing for usbip_stub, usbip_vhci and usbip_vhci_ude projects.
- Right-click on the project > Properties > Driver Signing > Test Certificate
- Browse to driver/usbip_test.pfx
-
Build solution or desired project.
-
All output files are created under {Debug,Release}/{x64,x86} folder