Last active
April 15, 2019 11:10
-
-
Save nico-lab/db0533e6889a1b3972dc to your computer and use it in GitHub Desktop.
ffmpeg で使う opencv をコンパイルする
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
$ git clone https://github.com/opencv/opencv | |
$ cd opencv | |
$ mkdir build | |
$ cd build | |
$ cmake -G "MSYS Makefiles" .. -DCMAKE_INSTALL_PREFIX=/mingw/i686-w64-mingw32 -DCMAKE_BUILD_TYPE="Release" \ | |
-DWITH_IPP=OFF -DWITH_TBB=ON -DBUILD_opencv_flann=OFF -DBUILD_opencv_photo=OFF -DBUILD_opencv_highgui=OFF\ | |
-DBUILD_opencv_ml=OFF -DBUILD_opencv_objdetect=OFF -DBUILD_opencv_video=OFF -DBUILD_opencv_imgcodecs=OFF | |
$ make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment