Skip to content

Commit a98db16

Browse files
committed
windows: Update release files
1 parent 95ffc73 commit a98db16

File tree

3 files changed

+41
-4
lines changed

3 files changed

+41
-4
lines changed

depends/INSTALL-windows.txt

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
Source code: https://github.com/OpenKinect/libfreenect2
22
API reference: http://openkinect.github.io/libfreenect2
33

4-
This release is x64 only and has not enabled OpenCL support. If you need extra configurations and features, you will have to build it from source.
4+
This release is x64 only with basic features enabled. If you want better performance or extra features, you will have to build it from source.
55

66
glfw3.dll, turbojpeg.dll, and libusb-1.0.dll are provided for convenience. You can download and upgrade them yourself.
77

88
"lib" and "include" directories contains libraries and headers. Configure your IDE respectively.
99

1010
You must have or install respective version of VC++ runtime, if you are using a -vs201x release variant.
1111

12-
You must install the libusbK driver:
12+
To try out the OpenNI2 example, copy bin\*.dll to C:\Program Files\OpenNI2\Tools\OpenNI2\Drivers, then run C:\Program Files\OpenNI\Tools\NiViewer.exe.
1313

14-
libusbK driver
14+
You must choose one USB driver backend and follow respective instructions:
15+
16+
a. UsbDk backend:
17+
18+
1. (Windows 7) You must first install Microsoft Security Advisory 3033929 otherwise your USB keyboards and mice will stop working!
19+
2. Download the latest x64 installer from https://github.com/daynix/UsbDk/releases, install it.
20+
3. If UsbDk somehow does not work, uninstall UsbDk and follow the libusbK instructions.
21+
22+
UsbDk overrides libusbK and Microsoft SDK. If you want to use the latter two, just uninstall UsbDk.
23+
24+
b. libusbK backend:
1525

1626
You don't need the Kinect for Windows v2 SDK to build and install libfreenect2, though it doesn't hurt to have it too. You don't need to uninstall the SDK or the driver before doing this procedure.
1727

depends/LICENSES.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,33 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
9999
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
100100
THE SOFTWARE.
101101

102+
* openni2/*, freenect2-openni2.dll
103+
104+
Modified from: https://github.com/OpenKinect/libfreenect/tree/master/OpenNI2-FreenectDriver
105+
106+
Original copyright & licenses granted https://github.com/openkinect/libfreenect2/pull/302#issuecomment-118514016
107+
108+
Copyright (c) 2014 Benn Snyder
109+
110+
This code is licensed to you under the terms of the Apache License, version
111+
2.0, or, at your option, the terms of the GNU General Public License,
112+
version 2.0. See the APACHE20 and GPL2 files for the text of the licenses,
113+
or the following URLs:
114+
http://www.apache.org/licenses/LICENSE-2.0
115+
http://www.gnu.org/licenses/gpl-2.0.txt
116+
117+
If you redistribute this file in source form, modified or unmodified, you
118+
may:
119+
1) Leave this header intact and distribute it under the same terms,
120+
accompanying it with the APACHE20 and GPL20 files, or
121+
2) Delete the Apache 2.0 clause and accompany it with the GPL2 file, or
122+
3) Delete the GPL v2 clause and accompany it with the APACHE20 file
123+
In all cases you must keep the copyright notice intact and include a copy
124+
of the CONTRIB file.
125+
126+
Binary distributions must follow the binary distribution requirements of
127+
either License.
128+
102129
turbojpeg.dll
103130
-------------
104131

depends/make_release_msvc.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ popd
2020
rmdir /s /q build
2121
mkdir build
2222
cd build
23-
cmake ..\.. -G "Visual Studio %vs_ver% %vs_year% Win64"
23+
cmake ..\.. -G "Visual Studio %vs_ver% %vs_year% Win64" -DENABLE_OPENCL=OFF -DENABLE_CUDA=OFF
2424
cmake --build . --config Release --target install
2525

2626
rmdir /s /q install\lib\cmake

0 commit comments

Comments
 (0)