Ask Your Question
1

ios framework not found opencv2

asked 2013-01-23 23:36:40 -0600

wmaiouiru gravatar image

I included the latest opencv2 framework from the following url: http://sourceforge.net/projects/opencvlibrary/files/opencv-ios/2.4.3/opencv2.framework.zip/download and followed the Hello world instruction: http://docs.opencv.org/doc/tutorials/ios/hello/hello.html#opencvioshelloworld

However, I am getting the following error when I try to deploy to my iPhone 5

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

I am using iOS SDK6.0, OSX 10.8.2, Xcode 4.5.2 Thank you for your help.

edit retag flag offensive close merge delete

Comments

Could you upload your Xcode project to some file hosting and add link to it?

AlexanderShishkov gravatar imageAlexanderShishkov ( 2013-01-25 16:55:22 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-04-11 12:24:58 -0600

ske gravatar image

You need to add opencv2 framework to project frameworks folder. And it needs to be under the "Link binary with libraries" in build phases tab.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-23 23:36:40 -0600

Seen: 3,784 times

Last updated: Apr 11 '13