Ask Your Question
0

OpenCV 2.4.6 build error for iOS platform

asked 2013-08-28 14:01:55 -0500

redcurry gravatar image

I followed (mostly) the instructions here: http://docs.opencv.org/doc/tutorials/introduction/ios_install/ios_install.html

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/Xcode.app/Contents/Developer/ to my existing /Developer directory.

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

/Users/carlos/opencv/modules/highgui/src/cap_qtkit.mm:46:9: 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/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/QTKit.framework/Versions/A/Headers/

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-08-28 14:32:14 -0500

AlexanderShishkov gravatar image
edit flag offensive delete link more

Comments

Whoa! Great!! Thx

fr_zug gravatar imagefr_zug ( 2016-09-19 02:52:19 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-08-28 14:01:55 -0500

Seen: 1,504 times

Last updated: Aug 28 '13