I'm trying to install openCV for Python on my Mac but after going through a bunch of tutorials, none seem to work for me. These are the steps I took
- Installed
CMake
- Downloaded the OpenCV library
- Used
CMake
to generate the Unix Makefiles - Run
make
on the generated files
And this is where the error arises.
fatal error: 'QTKit/QTKit.h' file not found
I searched and I found QTKitDefines.h instead at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/QTKit.framework/Versions/A/Headers/
Upon opening, it read
QTKit has been deprecated in 10.9. AVFoundation and AVKit are the frameworks recommended for all new development involving time-based audiovisual media on OS X. In order to transition your project from QTKit to AVFoundation please refer to: "Technical Note TN2300 Transitioning QTKit code to AV Foundation".
I tried searching and nothing has deem fruitful. All similar issues I found, the users still had QTKit.h
. Take for instance this folk
Any help will sincerely be appreciated.