Skip to content

Commit 60fde3f

Browse files
committed
Merge pull request #362 from xlz/remove-opencv-docs
Update OpenCV docs
2 parents 01a12f8 + 8f592d3 commit 60fde3f

File tree

2 files changed

+4
-66
lines changed

2 files changed

+4
-66
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,22 +123,16 @@ Joshua Blake provided a Debug version binary: https://www.dropbox.com/s/madoye1a
123123
* Download 64-bit Windows binaries from http://www.glfw.org/download.html
124124
* Extract it as `depends/glfw` (rename `glfw-3.x.x.bin.WIN64` to glfw), or anywhere as long as the environment variable `GLFW_ROOT` is set to the installed path.
125125

126-
#### OpenCV
127-
128-
* Download the installer from http://sourceforge.net/projects/opencvlibrary/files/opencv-win
129-
* Extract it anywhere (maybe also in `depends`)
130-
131126
#### OpenCL
132127

133128
* Intel GPU: Download `intel_sdk_for_ocl_applications_2014_x64_setup.msi` from http://www.softpedia.com/get/Programming/SDK-DDK/Intel-SDK-for-OpenCL-Applications.shtml (SDK official download is replaced by $$$ and no longer available) and install it. Then verify `INTELOCLSDKROOT` is set as an environment variable.
134129

135130
#### Build
136131

137-
You need to specify the location of OpenCV installation in `OpenCV_DIR`.
138132
```
139133
cd example\protonect
140134
mkdir build && cd build
141-
cmake .. -G "Visual Studio 12 2013 Win64" -DCMAKE_INSTALL_PREFIX=. -DOpenCV_DIR=%cd%\..\..\..\depends\opencv\build
135+
cmake .. -G "Visual Studio 12 2013 Win64" -DCMAKE_INSTALL_PREFIX=.
142136
cmake --build . --config Release --target install
143137
```
144138

@@ -150,12 +144,12 @@ Use your favorite package managers (brew, ports, etc.)
150144

151145
1. ``cd`` into a directory where you want to keep libfreenect2 stuff in
152146
1. Make sure these build tools are available: wget, git, cmake, pkg-config, automake, autoconf, libtool. Xcode may provide some of them. Install the rest via package managers.
153-
1. Install dependencies: OpenCV, TurboJPEG, GLFW.
147+
1. Install dependencies: TurboJPEG, GLFW.
154148

155149
```
156150
brew update
157151
brew tap homebrew/science
158-
brew install opencv jpeg-turbo
152+
brew install jpeg-turbo
159153
brew tap homebrew/versions
160154
brew install glfw3
161155
```
@@ -204,7 +198,7 @@ git clone https://github.com/OpenKinect/libfreenect2.git
204198
1. Install a bunch of dependencies
205199

206200
```bash
207-
sudo apt-get install build-essential libturbojpeg libjpeg-turbo8-dev libtool autoconf libudev-dev cmake mesa-common-dev freeglut3-dev libxrandr-dev doxygen libxi-dev libopencv-dev automake
201+
sudo apt-get install build-essential libturbojpeg libjpeg-turbo8-dev libtool autoconf libudev-dev cmake mesa-common-dev freeglut3-dev libxrandr-dev doxygen libxi-dev automake
208202
# sudo apt-get install libturbojpeg0-dev (Debian)
209203

210204
cd libfreenect2/depends

depends/README.depends.txt

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)