http://docs.opencv.org/doc/tutorials/ios/hello/hello.html
openCV 2.4.3 iOS background_segm.hpp ‘list’ file not found 2013-12-06 13:51:20
分类: iOS平台
今天从opencv官网下了一个ios版的opencv的framkwork,按照官方的导入项目后,编译时出现错误在background_segm.hpp里出现“ ‘list’ file not found”
在网上查了解决办法是:
1)把用到opencv的类的后缀从.m改为.mm
2)导入libc++.dylib库
Assigning to ‘id<UINavigationControllerDelegate,UIImagePickerControllerDelegate>’ from incompatible
分类: ios2014-10-13 15:56 1157人阅读 评论(0) 举报
解决方法:
去.h中添加:
1234 | @interface xxx : xxx <xxx, UIImagePickerControllerDelegate, UINavigationControllerDelegate> { ... } |
以符合UIImagePickerControllerDelegate和UINavigationControllerDelegate,即可解决问题。