Ask Your Question

Error in iOS framework and in tutorial

asked 2012-09-10 10:21:29 -0500

avner gravatar image

updated 2012-09-12 10:49:48 -0500

Kirill Kornyakov gravatar image

I'm having trouble doing the tutorial because the frameworks in it and what I've downloaded are different:

It seems that i don't have all of the files from the openCV framework like is stated in it (because this file isn't in the framework)

#import <opencv2/highgui/cap_ios.h>

Eventually trying to create a capture device like this:

self.videoCamera = [[CvVideoCamera alloc] initWithParentView:imageView];

How can I get this file? Have googled everywhere

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-09-11 13:28:23 -0500

AlexanderShishkov gravatar image

It is not error:-) This file is available in the trunk version of the OpenCV. This tutorial is also written for the future 2.5 release (because it's link is But framework for 2.4.2 that is published on our site doesn't contain this file. So if you want to get framework with the file, you should compile framework from the master branch of our repository similar to

edit flag offensive delete link more



I tried a sample below ,but encountered the following error.

Undefined symbols for architecture armv7: "_OBJC_CLASS_$_CvVideoCamera", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Is there any additional library?

ken gravatar imageken ( 2012-09-17 03:23:18 -0500 )edit

Question Tools


Asked: 2012-09-10 10:21:29 -0500

Seen: 1,693 times

Last updated: Sep 12 '12