Last active
December 21, 2015 08:38
-
-
Save BloodAxe/6278993 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Clone fresh copy of OpenCV | |
git clone https://github.com/Itseez/opencv.git opencv-node | |
# Prepare build and install dirs | |
mkdir opencv-node-build | |
mkdir opencv-node-bin | |
cd opencv-node-build | |
# Configure OpenCV | |
cmake -DCMAKE_BUILD_TYPE=RELEASE \ | |
-DBUILD_DOCS=OFF \ | |
-DBUILD_EXAMPLES=OFF \ | |
-DBUILD_SHARED_LIBS=OFF \ | |
-DBUILD_opencv_java=OFF \ | |
-DBUILD_JASPER=ON \ | |
-DBUILD_ZLIB=ON \ | |
-DBUILD_TESTS=OFF \ | |
-DBUILD_PERF_TESTS=OFF \ | |
-DBUILD_PNG=ON \ | |
-DBUILD_TIFF=ON \ | |
-DBUILD_JPEG=ON \ | |
-DWITH_JASPER=ON \ | |
-DWITH_OPENEXR=OFF \ | |
-DWITH_PNG=ON \ | |
-DWITH_TIFF=ON \ | |
-DWITH_WEBP=OFF \ | |
-DWITH_JPEG=ON \ | |
../opencv-2.4.6.1/ | |
# Build and install OpenCV libs | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment