Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9103361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:36:58+00:00 2026-06-17T01:36:58+00:00

I downloaded the OpenCV iOS framework from here and have it working fine with

  • 0

I downloaded the OpenCV iOS framework from here and have it working fine with iOS 6, but on iOS 5.0, whenever I call:

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

from this tutorial, I get the following error message:

dyld: lazy symbol binding failed: Symbol not found: _objc_setProperty_nonatomic
  Referenced from: /var/mobile/Applications/8ADDFB67-97CE-4F6B-94B5-BD2548E0E6DD/MyApp.app/MyApp
  Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_setProperty_nonatomic
  Referenced from: /var/mobile/Applications/8ADDFB67-97CE-4F6B-94B5-BD2548E0E6DD/MyApp.app/MyApp
Expected in: /usr/lib/libobjc.A.dylib

Is the latest version only for iOS 6? Is there an equivalent for iOS 5?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T01:36:59+00:00Added an answer on June 17, 2026 at 1:36 am

    See this Q&A:

    http://answers.opencv.org/question/4767/build-opencv-for-ios-5/

    It seems that there are issues with latest source, and they suggest that you use the most recent pre-built framework (2.4.3).

    Having said that, I have a version I built from current source last week which is running fine on ios6.0, 5.1 and 5.0 (see github projects here and here)

    But when I try the video example you pointed to with this framework, I get the same error.

    So it seems like it depends on exactly which feature of openCV you are trying to use….

    update

    I have just tried 2.4.3 and get the same error. Going back one version, 2.4.2, doesn’t help because <opencv2/highgui/cap_ios.h> is not present. This file declares the CvVideoCamera class and delegate protocol, so without it you won’t get anywhere with this example. Interestingly, cap_ios.h is an Objective-C class declaration, unlike the rest of openCV which is C++… so this particular feature might well only work with ios6

    update2

    OK I managed to get it running with a recent build of openCV from the latest source.

    1 / Copy these pre-build source files into your project:

    opencv/modules/highgui/src/

    cap_ios_abstract_camera.mm
    cap_ios_photo_camera.mm
    cap_ios_video_camera.mm
    cap_ios.h
    

    2 / in the three .mm files change these lines:

    #import "opencv2/highgui/cap_ios.h"
    #include "precomp.hpp"
    

    to:

    #import "cap_ios.h"
    // #include "precomp.hpp"
    

    2 / In your viewController change

    #import <opencv2/highgui/cap_ios.h>
    

    to

    #import "cap_ios.h"
    

    That’s about it… possibly one or two other tweaks but i think that’s all it took to get it running under a deployment target of 5.1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently downloaded opencv for a spin on an iOS project from here
All my OpenCV functions are working perfectly fine. But cvResize() is not found by
I'm missing something minor here in my project using the OpenCV framework from a
I'm trying to get OpenCV working with Python on my Ubuntu machine. I've downloaded
I've downloaded the newest OpenCV version (2.4.2) from the website. I'm planning on using
I'm trying to do the tutorial found here for ios video processing with openCv
I have downloaded opencv with svn and used cmake to compile it. I have
I have downloaded CVtypes and tried the example scripts with it but cannot get
I downloaded Punjab from Github . I also have Python 2.7, Twisted Python 10.2,
I'm using OpenCV 2.3.2 library downloaded from OpenCV trunk. I want to use setOpenGlDrawCallback

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.