Skip to content

Instantly share code, notes, and snippets.

@s1rius
Last active May 25, 2016 06:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s1rius/7ea5be5f48fb356d43abd8ff2fbee69c to your computer and use it in GitHub Desktop.
Save s1rius/7ea5be5f48fb356d43abd8ff2fbee69c to your computer and use it in GitHub Desktop.
1.download opencv 2.4.11 on ~/opencv-2.4.11
2.download cmake-3.5.1-Darwin-x86_64.dmg and install
3.clone https://github.com/MasteringOpenCV/code on ~/MasteringOpenCV
4.use cmake build opencv like https://www.youtube.com/watch?v=U49CVY8yOxw
5.cd MasteringOpenCV
6.mkdir build, cd build
7.export OpenCV_DIR="~/opencv-2.4.11/build"
8.cmake -D OpenCV_DIR=$OpenCV_DIR ../src
9.make install
10.done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment