Installing OpenCV on macbook for xcode6

asked 2014-11-08 10:59:02 -0500

bharat sethi gravatar image

updated 2014-11-08 11:03:44 -0500

  1. Create a folder for keeping your framework
  2. Open terminal and cd to the directory created in step1
  3. Run command on terminal "git clone https://github.com/Itseez/opencv.git"
  4. Wait for a while to complete opencv
  5. cd to root i.e. cd / and run another command "sudo ln -s /Applications/Xcode.app/Contents/Developer Developer"
  6. if your mac has got cmake then
    run "python opencv/platforms/ios/build_framework.py iOS"
    else
    run "xcodebuild -license"
    download cmake(cmake-3.1.0-rc1) source from http://www.cmake.org/download/
    cd to the downloaded source and run "./configure && make && make install"
    run "python opencv/platforms/ios/build_framework.py iOS"
  7. Opencv2.framework is ready to use in you Xcode code
edit retag flag offensive close merge delete