Home opencv xcode 9 Undefined symbols for architecture arm64:
Reply: 0

opencv xcode 9 Undefined symbols for architecture arm64:

piowes
1#
piowes Published in 2017-12-07 12:11:53Z

Error message from Xcode

I need to use ximgproc module from OpenCV_contrib into my Xcode project. When I run the project I have an error like above.

Xcode 9.1 (9B55) Target: iOS 11 OpenCV -> https://github.com/opencv/opencv OpenCV_Contrib -> https://github.com/opencv/opencv_contrib

I have connected modules from these two libraries into one opencv2.framework .

xcrun -sdk iphoneos lipo -info ios/opencv2.framework/opencv2 Architectures in the fat file: ios/opencv2.framework/opencv2 are: armv7 armv7s i386 x86_64 arm64

Architestures are fine.

Below Xcode project settings:

Xcode configuration

I stuck. I was trying everything. (I spent two days for looking for a solution.)

I was trying everything according to:

http://ioscake.com/how-to-compile-opencv-for-ios7-arm64.html https://www.extendi.it/blog/2015/5/22/46-how-to-add-opencv-2-4-11-in-your-ios-project -> I added also extra libraries to the project:

Accelerate AssetsLibrary AVFoundation CoreGraphics CoreImage CoreMedia CoreVideo QuartzCore UIKit Foundation

and

libc++.dylib

Has anyone idea how to solve the problem? Thank you in advance for help!

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.326392 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO