Ask Your Question

redcurry's profile - activity

2017-02-07 13:30:28 -0600 commented answer how to detect ellipse and get centers of ellipse

@justrookie Hi, I'm working on a leaf-area measurement tool using a very similar method as yours. Is your software available? Thanks!

2013-08-29 09:19:42 -0600 answered a question Compiler error when compiling for iOS
2013-08-28 15:29:48 -0600 received badge  Supporter (source)
2013-08-28 15:29:27 -0600 asked a question Specify Xcode version during build for iOS platform

I have Xcode 4.6.3 as well as Xcode 5.0 (5A11315e). The OpenCV build tool (for the iOS platform) detects Xcode 5.0, but I would like it to use Xcode 4.6.3 instead (I get build errors otherwise). Where may I specify which version of Xcode the build tool should use?

2013-08-28 15:24:55 -0600 received badge  Scholar (source)
2013-08-28 14:01:55 -0600 asked a question OpenCV 2.4.6 build error for iOS platform

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.