Skip to content

Commit aca6046

Browse files
committed
win32: Update docs regarding libusb support
Signed-off-by: Benn Snyder <[email protected]>
1 parent 3516072 commit aca6046

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

README.md

+3-11
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Notice: If you have the newer Kinect v2 (XBox One), use [OpenKinect/libfreenect2
1717

1818
To build libfreenect, you'll need
1919

20-
- [libusb](http://libusb.info) >= 1.0.18
20+
- [libusb](http://libusb.info) >= 1.0.18 (Windows needs >= 1.0.22)
2121
- [CMake](http://cmake.org) >= 3.1.0
2222
- [python](http://python.org) >= 2.7 or >= 3.3 (only if BUILD_PYTHON=ON or BUILD_PYTHON2=ON or BUILD_PYTHON3=ON or BUILD_REDIST_PACKAGE=OFF)
2323

@@ -122,22 +122,14 @@ Alternately, the [libfreenect-git](https://aur.archlinux.org/packages/libfreenec
122122

123123
## Windows
124124

125-
As of February 2015, libusb still [does not support](https://github.com/libusb/libusb/issues/46) isochronous transfers on Windows.
126-
This support may be patched in by performing these steps or their GUI equivalent.
127-
128-
git clone https://github.com/libusb/libusb.git
129-
cd libusb
130-
git remote add jblake https://github.com/JoshBlake/libusbx.git
131-
git fetch jblake
132-
git cherry-pick c5b0af4 1c74211
133-
MSBuild.exe msvc/libusb_2013.sln
125+
As of libusb 1.0.22, [libusbK isochronous transfers](https://github.com/libusb/libusb/commit/55ced7746dd697024f2042aca009b7436892bf2b) are now supported natively. There is no longer a need to compile a custom version of libusb.
134126

135127
Use [Zadig](http://zadig.akeo.ie/) to install the libusbK driver for each device you wish to use.
136128
Follow [Fetch & Build](#fetch-build) or use Github and CMake GUI tools.
137129
Remember to supply paths to CMake so it can find dependencies.
138130
For example:
139131

140-
cmake .. -DLIBUSB_1_INCLUDE_DIR="C:\path\to\patched\libusb\include" -DLIBUSB_1_LIBRARY="C:\path\to\patched\libusb\libusb.lib"
132+
cmake .. -DLIBUSB_1_INCLUDE_DIR="C:\path\to\libusb\include" -DLIBUSB_1_LIBRARY="C:\path\to\libusb\libusb.lib"
141133

142134

143135
# Wrappers

0 commit comments

Comments
 (0)