Skip to content

Instantly share code, notes, and snippets.

Last active Aug 9, 2017
What would you like to do?
Cmake flags for opencv and python3
mkdir release
cd release
-DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules \
-DCMAKE_INSTALL_PREFIX=~/usr/software/opencv_build \
-DPYTHON_EXECUTABLE=~/.pyenv/versions/mlc/bin/python3 \
-DPYTHON_LIBRARY=~/.pyenv/versions/3.5-dev/lib/ ..
make -j8
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment