@@ -35,16 +35,25 @@ For the examples, you'll need
35
35
cd build
36
36
cmake -L ..
37
37
make
38
-
38
+
39
39
# if you don't have `make` or don't want color output
40
40
# cmake --build .
41
41
42
- You can also specify a build with debug symbols:
42
+ For some newer Kinect models, audio must be enabled for tilt and LED control:
43
+
44
+ cmake -L .. -DBUILD_AUDIO=ON
45
+
46
+ You can specify a build with debug symbols:
43
47
44
48
cmake -L .. -DCMAKE_BUILD_TYPE=debug
45
49
# or with optimizations
46
50
# cmake -L .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
47
51
52
+ You can build .deb, .rpm, and/or .tgz packages with ` cpack ` :
53
+
54
+ cmake .. -L -DBUILD_CPACK_DEB=ON -DBUILD_CPACK_RPM=ON -DBUILD_CPACK_TGZ=ON
55
+ cpack
56
+
48
57
## OSX
49
58
50
59
If you don't have a package manager, install [ Homebrew] ( http://brew.sh/ ) .
@@ -55,11 +64,11 @@ For a manual build, see [the wiki](http://openkinect.org/wiki/Getting_Started#Ma
55
64
brew install libfreenect
56
65
# or get the very latest:
57
66
# brew install --HEAD libfreenect
58
-
67
+
59
68
### MacPorts
60
69
61
70
sudo port install git-core cmake libusb libtool
62
-
71
+
63
72
Continue with [ Fetch & Build] ( #fetch-build ) .
64
73
65
74
@@ -76,12 +85,12 @@ Continue with this section for a manual build.
76
85
sudo apt-get install git-core cmake pkg-config build-essential libusb-1.0-0-dev
77
86
sudo adduser $USER video
78
87
sudo adduser $USER plugdev # necessary?
79
-
88
+
80
89
# only if you are building the examples:
81
90
sudo apt-get install libglut3-dev libxmu-dev libxi-dev
82
-
91
+
83
92
Continue with [ Fetch & Build] ( #fetch-build ) .
84
-
93
+
85
94
There is also a [ debian branch] ( https://github.com/OpenKinect/libfreenect/tree/debian ) for packaging purposes.
86
95
87
96
### Gentoo Linux
@@ -127,6 +136,15 @@ Wrappers are not guaranteed to be API stable or up to date.
127
136
For example, start with [ demo_cv_async.py] ( https://gihub.com/OpenKinect/libfreenect/tree/master/wrappers/python/devmo_cv_async.py ) .
128
137
129
138
139
+ # Code Contributions
140
+
141
+ In order of importance:
142
+
143
+ - Make sure to sign commits: ` git commit -s `
144
+ - Use a [ feature branch] ( https://www.atlassian.com/git/workflows#!workflow-feature-branch ) in your own fork and target master with pull requests
145
+ - Tab indentation, no trailing whitespace
146
+
147
+
130
148
# Maintainers
131
149
132
150
Ongoing Development and Maintenance by the OpenKinect Community
@@ -158,16 +176,16 @@ http://www.apache.org/licenses/LICENSE-2.0
158
176
http://www.gnu.org/licenses/gpl-2.0.txt
159
177
160
178
If you redistribute this file in source form, modified or unmodified,
161
- you may:
179
+ you may:
162
180
163
181
- Leave this header intact and distribute it under the same terms,
164
182
accompanying it with the APACHE20 and GPL2 files, or
165
183
- Delete the Apache 2.0 clause and accompany it with the GPL2 file, or
166
- - Delete the GPL v2 clause and accompany it with the APACHE20 file
184
+ - Delete the GPL v2 clause and accompany it with the APACHE20 file
167
185
168
186
In all cases you must keep the copyright notice intact and include a
169
187
copy of the CONTRIB file.
170
-
188
+
171
189
Binary distributions must follow the binary distribution requirements
172
190
of either License.
173
191
```
0 commit comments