OpenKinect / libfreenect2

Open source drivers for the Kinect for Windows v2 device
2.08k stars 752 forks source link

Updated instructions for Windows for Visual Studio 2019 #1108

Closed gvoyts closed 4 years ago

xlz commented 4 years ago

It is no longer recommended to build libusb from source. libusb has official binary releases that includes the patches in the build script, download from here https://github.com/libusb/libusb/releases.

xlz commented 4 years ago

I added the clarifying bits in https://github.com/OpenKinect/libfreenect2/commit/73e1a24a2f3b28bd35eed9778dc680883bf9190f. We knew these could be confusing but nobody had complained.

chauvansang1997 commented 4 years ago

Hi you can build using visual studio 2019 by add install_libusb_vs2019.cmd to depends folder: set MSBUILD="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe"