Skip to content

Commit da2d8ba

Browse files
committed
win32: Update build/install instructions
Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
1 parent 68073c3 commit da2d8ba

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,22 @@ Alternately, the [libfreenect-git](https://aur.archlinux.org/packages/libfreenec
105105

106106
## Windows
107107

108-
The inf files in [platform/windows/](https://github.com/OpenKinect/libfreenect/tree/master/platform/windows) may be used for installing the device.
108+
As of February 2015, libusb still [does not support](https://github.com/libusb/libusb/issues/46) isochronous transfers on Windows.
109+
This support may be patched in by performing these steps or their GUI equivalent.
110+
111+
git clone https://github.com/libusb/libusb.git
112+
cd libusb
113+
git remote add jblake https://github.com/JoshBlake/libusbx.git
114+
git fetch jblake
115+
git cherry-pick c5b0af4 1c74211
116+
MSBuild.exe msvc/libusb_2013.sln
117+
118+
Use [Zadig](http://zadig.akeo.ie/) to install the libusbK driver for each device you wish to use.
109119
Follow [Fetch & Build](#fetch-build) or use Github and CMake GUI tools.
110-
You may need to supply paths to CMake so it can find dependencies.
120+
Remember to supply paths to CMake so it can find dependencies.
111121
For example:
112122

113-
cmake .. -DLIBUSB_1_INCLUDE_DIR="C:\path\to\libusb\include" -DLIBUSB_1_LIBRARY="C:\path\to\libusb\libusb.lib"
123+
cmake .. -DLIBUSB_1_INCLUDE_DIR="C:\path\to\patched\libusb\include" -DLIBUSB_1_LIBRARY="C:\path\to\patched\libusb\libusb.lib"
114124

115125

116126
# Wrappers

0 commit comments

Comments
 (0)