Ask Your Question

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: and followed the Hello world instruction:

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


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

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


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

Seen: 3,774 times

Last updated: Apr 11 '13