Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV 2.4.6 build error for iOS platform

I followed (mostly) the instructions here:

I couldn't make a symbolic link to the Developer directory because I already had one (it contained MonoTouch), so I individually linked the files in /Applications/ to my existing /Developer directory.

When I run "python opencv/platforms/ios/ ios" I get a build error:

/Users/carlos/opencv/modules/highgui/src/ fatal error: 
      'QTKit/QTKit.h' file not found
#import <QTKit/QTKit.h>
1 error generated.

I searched for the QTKit.h file and found it in /Applications/

It is therefore also in /Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/QTKit.framework/Versions/A/Headers/

However, it seems like the build tool can't find this file.

The latest OpenCV commit ID in my repository is 580677f43d05d8d7cbc3cb72f01c0def334f67a2. I'm running OS X 10.8.4 and XCode 4.6.3.