posts - 84,  comments - 65,  trackbacks - 0

http://docs.opencv.org/doc/tutorials/ios/hello/hello.html

 

分类: 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

分类: ios

解决方法:

去.h中添加:

1
2
3
4
@interface xxx : xxx <xxx, UIImagePickerControllerDelegate, UINavigationControllerDelegate>
{
...
}

以符合UIImagePickerControllerDelegate和UINavigationControllerDelegate,即可解决问题。

posted on 2015-09-12 16:58 30斤大番薯 阅读(...) 评论(...) 编辑 收藏