You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41-50Lines changed: 41 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,9 +118,9 @@ When you report USB issues, please attach relevant debug log from running the pr
118
118
119
119
Open a Git shell (GitHub for Windows), or any shell that has access to git.exe and msbuild.exe
120
120
```
121
-
cd depends/
122
-
.\install_libusb_vs2013.cmd
123
-
```
121
+
cd depends/
122
+
.\install_libusb_vs2013.cmd
123
+
```
124
124
Or `install_libusb_vs2015.cmd`. If you see some errors, you can always open the cmd files and follow the git commands, and maybe build `libusb_201x.sln` with Visual Studio by hand. Building with "Win32" is not recommended as it results in lower performance.
125
125
* Install TurboJPEG
126
126
@@ -139,10 +139,10 @@ cd depends/
139
139
140
140
The default installation path is `install`, you may change it by editing `CMAKE_INSTALL_PREFIX`.
* Test OpenNI2. `make install-openni2` (may need sudo), then run `NiViewer`. Environment variable `LIBFREENECT2_PIPELINE` can be set to `cl`, `cuda`, etc to specify the pipeline.
195
-
```
190
+
196
191
### Linux
197
192
198
193
Note: Ubuntu 12.04 is too old to support. Debian jessie may also be too old, and Debian stretch is implied in the following.
1. (Ubuntu 14.04 only) `sudo apt-add-repository ppa:deb-rob/ros-trusty && sudo apt-get update` (You don't need this if you have ROS repos), then `sudo apt-get install libopenni2-dev`
245
237
2. (Other) `sudo apt-get install libopenni2-dev`.
246
238
* Build
247
-
248
239
```
249
-
cd ..
250
-
mkdir build && cd build
251
-
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/freenect2
252
-
make
253
-
make install
254
-
```
240
+
cd ..
241
+
mkdir build && cd build
242
+
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/freenect2
243
+
make
244
+
make install
245
+
```
255
246
You need to specify `cmake -Dfreenect2_DIR=$HOME/freenect2/lib/cmake/freenect2` for CMake based third-party application to find libfreenect2.
256
247
* Set up udev rules for device access: `sudo cp ../platform/linux/udev/90-kinect2.rules /etc/udev/rules.d/`, then replug the Kinect.
0 commit comments