Skip to content

Instantly share code, notes, and snippets.

@dkurt
Created June 3, 2017 13:50
Show Gist options
  • Save dkurt/ed78878d6b4dc6334b4b1c93e9e02755 to your computer and use it in GitHub Desktop.
Save dkurt/ed78878d6b4dc6334b4b1c93e9e02755 to your computer and use it in GitHub Desktop.
cd ~/opencv/build
cmake -DCMAKE_BUILD_TYPE=RELEASE \
-DWITH_OPENCL=NO \
-DWITH_CUDA=NO \
-DBUILD_TESTS=OFF \
-DBUILD_PERF_TESTS=OFF \
-DBUILD_opencv_aruco=OFF \
-DBUILD_opencv_bgsegm=OFF \
-DBUILD_opencv_bioinspired=OFF \
-DBUILD_opencv_ccalib=OFF \
-DBUILD_opencv_cnn_3dobj=OFF \
-DBUILD_opencv_contrib_world=OFF \
-DBUILD_opencv_cvv=OFF \
-DBUILD_opencv_datasets=OFF \
-DBUILD_opencv_dnn_modern=OFF \
-DBUILD_opencv_dnns_easily_fooled=OFF \
-DBUILD_opencv_dpm=OFF \
-DBUILD_opencv_face=OFF \
-DBUILD_opencv_freetype=OFF \
-DBUILD_opencv_fuzzy=OFF \
-DBUILD_opencv_hdf=OFF \
-DBUILD_opencv_line_descriptor=OFF \
-DBUILD_opencv_matlab=OFF \
-DBUILD_opencv_optflow=OFF \
-DBUILD_opencv_phase_unwrapping=OFF \
-DBUILD_opencv_plot=OFF \
-DBUILD_opencv_reg=OFF \
-DBUILD_opencv_rgbd=OFF \
-DBUILD_opencv_saliency=OFF \
-DBUILD_opencv_sfm=OFF \
-DBUILD_opencv_stereo=OFF \
-DBUILD_opencv_structured_light=OFF \
-DBUILD_opencv_surface_matching=OFF \
-DBUILD_opencv_text=OFF \
-DBUILD_opencv_tracking=OFF \
-DBUILD_opencv_xfeatures2d=OFF \
-DBUILD_opencv_ximgproc=OFF \
-DBUILD_opencv_xobjdetect=OFF \
-DBUILD_opencv_xphoto=OFF \
-DBUILD_opencv_calib3d=OFF \
-DBUILD_opencv_cudacodec=OFF \
-DBUILD_opencv_cudaobjdetect=OFF \
-DBUILD_opencv_features2d=OFF \
-DBUILD_opencv_java=OFF \
-DBUILD_opencv_shape=OFF \
-DBUILD_opencv_cudafeatures2d=OFF \
-DBUILD_opencv_cudaoptflow=OFF \
-DBUILD_opencv_flann=OFF \
-DBUILD_opencv_ml=OFF \
-DBUILD_opencv_stitching=OFF \
-DBUILD_opencv_videostab=OFF \
-DBUILD_opencv_cudafilters=OFF \
-DBUILD_opencv_cudastereo=OFF \
-DBUILD_opencv_objdetect=OFF \
-DBUILD_opencv_superres=OFF \
-DBUILD_opencv_viz=OFF \
-DBUILD_opencv_cudaarithm=OFF \
-DBUILD_opencv_cudaimgproc=OFF \
-DBUILD_opencv_cudawarping=OFF \
-DBUILD_opencv_photo=OFF \
-DBUILD_opencv_cudabgsegm=OFF \
-DBUILD_opencv_cudalegacy=OFF \
-DBUILD_opencv_python2=OFF \
-DBUILD_opencv_video=OFF .. && make -j4 && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment