ios opencv2.framework is quite strange
NickName:shawn Ask DateTime:2016-05-16T14:35:42

ios opencv2.framework is quite strange

I am new to Xcode for ios. I encountered a very strange issue.

My Xcode is 7 under MacOS EI. and I download the opencv samples for ios https://github.com/Itseez/opencv_for_ios_book_samples

And after that I download the opencv2.framework for ios not Mac (they are different)

but, after I unzipped the opencv2.framework, the folders' names are very strange. There is no folder named "opencv2" but "Headers". If so, how could you find the correct path????

In addition, where is the shared library? the next folder is named "opencv2" without any suffix.

In order to make the paths correct, I changed the "h" files folder name to be "opencv2", so the project can find the header files. But still can not link to the library. The error is as follows.

ld: framework not found opencv2 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Although I have set the search path for headers and library.

I have searched a lot but no answers, Could you please give some ideas??

Thank you in advance!

Copyright Notice:Content Author:「shawn」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/37248018/ios-opencv2-framework-is-quite-strange

More about “ios opencv2.framework is quite strange” related questions

ios opencv2.framework is quite strange

I am new to Xcode for ios. I encountered a very strange issue. My Xcode is 7 under MacOS EI. and I download the opencv samples for ios https://github.com/Itseez/opencv_for_ios_book_samples And af...

Show Detail

Image morphing by integrating OpenCV2.framework in iOS

I am new to iOS and I am planning to work on my first app in which I have to morph one image into another smoothly. I have downloaded OpenCv2.framework and I am planning to integrate into my code. ...

Show Detail

Getting issue on terminal command while creating opencv2.framework

I was facing some issues with opencv2.framework in iOS related to bitcode. While searching on the internet, I found this post regarding creating the opencv2.framework with bitcode support enabled. ...

Show Detail

gitignore not ignoring opencv2.framework

I am trying to make git ignore the opencv2.framework I have imported into my project. However, even though I am adding opencv2.framework into my .gitignore, every time I run git status on my termin...

Show Detail

opencv2.framework/opencv2(surf.o) duplicate symbols for architecture armv7

I am integrating opencv2.framework with my project. I did the following steps for completion. Added opencv2.framework to "Linked Frameworks and Libraries" Added libc++.dylib to "Linked Frameworks ...

Show Detail

iOS - Building a static framework with other framework dependencies

I am building an iOS static framework (MyFramework.framework) using the method described here. However, methods in MyFramework.framework are also dependent on the OpenCV framework for iOS (opencv2.

Show Detail

cap_ios.h is not found

apparently, I have download the opencv2.framework from http://sourceforge.net/projects/opencvlibrary/files/opencv-ios/ but after I've download the example project from GSOC 2012 the facedetectvideo

Show Detail

"Functional-style cast from id to double is not allowed" when building opencv with aruco on iOS

I'm trying to make an iOS app that can detect Aruco markers. So, I downloaded opencv2.framework for iOS, but I realized that Aruco is not included in that. Following this page, I compiled manually ...

Show Detail

OpenCV iOS - Expected identifier (MACRO)

Getting error from "opencv2.framework". Just a new project contained "opencv2.framework" not running. My Steps: download latest opencv2.framework add required frameworks declare .pch file stuff c...

Show Detail

Any way to check opencv version in iOS project?

In the iOS project (with no cocoaPods), openCV is used. And the one who create this project can not be contacted because he went to other company. I realized in the project, openCV framework name...

Show Detail