Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lachlanagnew/853752b971dbddb78662fc0f18d93a41 to your computer and use it in GitHub Desktop.
Save lachlanagnew/853752b971dbddb78662fc0f18d93a41 to your computer and use it in GitHub Desktop.
$ cd ~/opencv-3.1.0/
$ mkdir build
$ cd build
$ cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=/usr/local \
-D INSTALL_PYTHON_EXAMPLES=ON \
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.1.0/modules \
-D BUILD_EXAMPLES=ON .. \
-DENABLE_PRECOMPILED_HEADERS=OFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment