Reputation: 1045
I'm trying to add opencv framework into built project(https://github.com/amolaks76/iOS-Camera-and-OpenCV) I found from Github. I'm just trying to run the app on my iPhone to see how opencv works with Swift.
I added opencv.framework
which I found from opencv website. Even if I add the framework, it still complains like below image.
one thing I found is that opencv.framework has different image than apple's framework like below:
I've seen other stackoverflow questions about this matter and people suggested to make sure Always Search User Paths
is Yes
. I'm updating my search path setting below:
can you guys tell me what I'm doing wrong here?
Upvotes: 1
Views: 191
Reputation: 12594
use following
#import "opencv2/opencv.hpp"
and in build settings -> compile as -> objective c++
Upvotes: 1
Reputation: 953
you need to download ovencv frame work from https://github.com/Itseez/opencv add it to your project
Upvotes: 0