Ask Your Question

hkaraoguz's profile - activity

2014-01-24 03:37:29 -0500 received badge  Teacher (source)
2012-09-19 09:50:55 -0500 received badge  Student (source)
2012-09-14 00:54:59 -0500 answered a question Errors when trying to import the OpenCV framework into an iOS project


Your ViewController.m file should be renamed as in order to use OpenCV or any other C++ code inside that file.

2012-09-14 00:47:56 -0500 answered a question Why doesnt QT get detected when I want to build openCV?

Maybe you should manually edit qt paths using ccmake during configuration step

2012-07-30 03:34:18 -0500 received badge  Scholar (source)
2012-07-19 05:10:14 -0500 received badge  Notable Question (source)
2012-07-17 16:46:06 -0500 answered a question Error when importing the iOS framework


My .pch file is like this:

#import <Availability.h>
#ifndef __IPHONE_4_0
#warning "This project uses features only available in iOS SDK 4.0 and later."

#ifdef __cplusplus
#import <OpenCV/opencv2/opencv.hpp>

#ifdef __OBJC__
    #import <UIKit/UIKit.h>
    #import <Foundation/Foundation.h>

and it works without any problems.

2012-07-15 14:52:01 -0500 commented question opencv2 ios framework error

Sorry, my mistake. The first framework I have tried was also from trunk. When I have downloaded the framework that you have mentioned, the problem solved. Thank you!!

2012-07-15 14:29:59 -0500 received badge  Popular Question (source)
2012-07-13 04:17:35 -0500 asked a question opencv2 ios framework error


I have recently compiled the newly released opencv2 framework for ios. It has compiled successfully but I have received linker errors for "split" and "merge" functions while using in my project:

  Undefined symbols for architecture armv7:
  "__ZN2cv5mergeERKSt6vectorINS_3MatESaIS1_EERKNS_12_OutputArrayE", referenced from:
      -[ImageProcessModule paintImage] in ImageProcessModule.o
  "__ZN2cv5splitERKNS_3MatERSt6vectorIS0_SaIS0_EE", referenced from:
      -[ImageProcessModule determineHUELimits] in ImageProcessModule.o
ld: symbol(s) not found for architecture armv7

Any solutions to the problem?

P.S: I am using capture functions and roi functions in the same project. They are working perfectly.