openCV 2.4.3 iOS framework compiler trouble recognising some c++ headers

后端 未结 2 444
[愿得一人]
[愿得一人] 2020-12-01 19:14

openCV 2.4.3 / Xcode 4.5.2 / mac osx 10.8.2

I am trying to get openCV working with iOS. I am attempting to use the the prebuilt 2.4.3 framework from openCV.org. H

2条回答
  •  鱼传尺愫
    2020-12-01 19:33

    openCV implementation class just add .m to .mm as implementation file.

    #import 
    #import 
    
    @interface ViewController : UIViewController
    
    @end
    

    enter image description here .mm file run in C++ compiler in iOS, so it not show error.

提交回复
热议问题