File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed
Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ You can go back and forth between the SDK driver and the libusbK driver very qui
8787 ```
8888brew update
8989brew tap homebrew/science
90- brew install opencv git nasm wget
90+ brew install opencv git nasm wget jpeg-turbo
9191```
9292
93931 . Download the libfreenect2 repository
100100
101101 ```
102102cd ./libfreenect2
103+ ln -s /usr/local/opt/jpeg-turbo depends/libjpeg_turbo
103104sh ./depends/install_mac.sh
104105```
105106
Original file line number Diff line number Diff line change @@ -5,23 +5,6 @@ DEPENDS_DIR=`pwd`
55
66sh ./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
269cd /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
You can’t perform that action at this time.
0 commit comments