Organizational Research By

Surprising Reserch Topic

cocoapods opencv 2 4 10 linker error using -'ios,xcode,opencv,cocoapods'


cocoapods opencv 2 4 10 linker error  using -'ios,xcode,opencv,cocoapods'

I'm trying to build a simple project using OpenCV 2.4.10 but I get a bunch of errors like this:


Undefined symbols for architecture x86_64:
  "_jpeg_free_large", referenced from:
      _free_pool in opencv2(jmemmgr.o)
  "_jpeg_free_small", referenced from:
      _free_pool in opencv2(jmemmgr.o)
      _self_destruct in opencv2(jmemmgr.o)


Here is ViewController.m

#import "ViewController.h"
#import <opencv2/opencv.hpp>

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    cv::Mat greyMat;
}


Podfile

platform :ios, '8.1'

pod 'OpenCV', '2.4.10'


Project builds just fine when I use version 2.4.9.1 or 2.4.9.
I was also able to build this project with framework file downloaded from URL which I found in podspec 2.4.10.
    
asked Sep 7, 2015 by rajesh
0 votes
55 views



Related Hot Questions



Government Jobs Opening


...