opencv_for_ios_book_samples icon indicating copy to clipboard operation
opencv_for_ios_book_samples copied to clipboard

Won't run Chapter04 and Chapter15 samples using Xcode 7...

Open dddppp opened this issue 9 years ago • 1 comments

Hello,

I am getting some errors when trying to run the examples of Chapter 04 and Chapter15.. I tried to manually add the openCV framework but won't suffice.

Any help / idea / workaround?

Thanks screen shot 2016-03-07 at 11 13 44

dddppp avatar Mar 07 '16 11:03 dddppp

I fixed this by replacing the statement #import "opencv2/highgui/ios.h" to "#import "opencv2/imgcodecs/ios.h".

Looks like the ios.h file that declares the UIIMageToMat function has been moved from the highgui to imgcodecs directory in the latest framework.

Hope this helps!

yezhisaim avatar Mar 11 '16 07:03 yezhisaim