Skip to content

Commit 879ed39

Browse files
committed
Merge pull request #265 from xlz/macosx-docs
Quick documentation fix
2 parents 60fcb0e + 982fcb8 commit 879ed39

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ No. It's a pure USB3 device due to the high bandwidth requirements.
2424

2525
### Protonect complains about "no device connected" or "failure opening device".
2626

27-
Either your device is connected to an USB2-only port (see above), or you don't have permissions to access the device. On Linux, try running Protonect as root (e.g. using `sudo`). If that fixes things, place `contrib/90-kinect2.rules` into `/etc/udev/rules.d/` and re-plug the device.
27+
Either your device is connected to an USB2-only port (see above), or you don't have permissions to access the device. On Linux, try running Protonect as root (e.g. using `sudo`). If that fixes things, place `rules/90-kinect2.rules` into `/etc/udev/rules.d/` and re-plug the device.
28+
29+
On Mac OS X, open "System Information" from Spotlight, go to the USB section, and verify "Xbox NUI Sensor" is under "USB 3.0 SuperSpeed Bus" not "High-Speed Bus". If this is not the case, try unplugging the Kinect from power source with the USB cable connected, and plug the power again, then verify.
2830

2931
### I'm getting lots of USB transfer errors, and/or only blank windows.
3032

@@ -36,7 +38,7 @@ USB3 as a whole is a flaky thing. If you're running Linux, try upgrading to a re
3638
Probably not working:
3739
* ASMedia Technology Inc. Device 1142
3840

39-
Finally, it's also possible that your executable is not actually using the patched libusb from the depends/ folder which is required at the moment. Check this using `ldd`, and adjust your `LD_LIBRARY_PATH` if necessary.
41+
Finally, it's also possible that your executable is not actually using the patched libusb from the depends/ folder which is required at the moment. Check this using `ldd | grep libusb` (shows libusb-1.0 under `depends/`), and adjust your `LD_LIBRARY_PATH` if necessary.
4042

4143
### I'm seeing the color camera stream, but no depth/IR (black windows).
4244

@@ -87,7 +89,7 @@ You can go back and forth between the SDK driver and the libusbK driver very qui
8789
```
8890
brew update
8991
brew tap homebrew/science
90-
brew install opencv git nasm wget
92+
brew install opencv git nasm wget jpeg-turbo
9193
```
9294

9395
1. Download the libfreenect2 repository
@@ -100,6 +102,7 @@ git clone [email protected]:OpenKinect/libfreenect2.git
100102

101103
```
102104
cd ./libfreenect2
105+
ln -s /usr/local/opt/jpeg-turbo depends/libjpeg_turbo
103106
sh ./depends/install_mac.sh
104107
```
105108

depends/install_mac.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,6 @@ DEPENDS_DIR=`pwd`
55

66
sh ./install_deps.sh
77

8-
9-
# libjpeg
10-
LIBJPEG_SOURCE_DIR=$DEPENDS_DIR/libjpeg_turbo_src
11-
LIBJPEG_INSTALL_DIR=$DEPENDS_DIR/libjpeg_turbo
12-
LIBJPEG_VERSION=1.3.1
13-
14-
wget https://downloads.sourceforge.net/project/libjpeg-turbo/$LIBJPEG_VERSION/libjpeg-turbo-$LIBJPEG_VERSION.tar.gz
15-
tar xvf libjpeg-turbo-$LIBJPEG_VERSION.tar.gz
16-
mv libjpeg-turbo-$LIBJPEG_VERSION $LIBJPEG_SOURCE_DIR
17-
cd $LIBJPEG_SOURCE_DIR
18-
19-
# libjpeg-turbo is missing some files config files (config.guess and config.sub)
20-
cp $LIBUSB_SOURCE_DIR/config.guess ./
21-
cp $LIBUSB_SOURCE_DIR/config.sub ./
22-
./configure --disable-dependency-tracking --host x86_64-apple-darwin --with-jpeg8 --prefix=$LIBJPEG_INSTALL_DIR
23-
make && make install
24-
258
#get the missing cl.hpp from Khronos.org
269
cd /System/Library/Frameworks/OpenCL.framework/Versions/A/Headers/
2710
[ -f cl.hpp ] || sudo wget http://www.khronos.org/registry/cl/api/1.2/cl.hpp

0 commit comments

Comments
 (0)