iphone – 与_CGImageSourceCreateWithData相关的链接错误
发布时间:2020-12-14 18:57:40 所属栏目:百科 来源:网络整理
导读:编译时出错. Undefined symbols for architecture armv6:"_CGImageSourceCreateWithData",referenced from: ___-[AVCamCaptureManager captureStillImage]_block_invoke_1 in AVCamCaptureManager.o"_CGImageSourceCopyPropertiesAtIndex",referenced from:
编译时出错.
Undefined symbols for architecture armv6: "_CGImageSourceCreateWithData",referenced from: ___-[AVCamCaptureManager captureStillImage]_block_invoke_1 in AVCamCaptureManager.o "_CGImageSourceCopyPropertiesAtIndex",referenced from: ___-[AVCamCaptureManager captureStillImage]_block_invoke_1 in AVCamCaptureManager.o ld: symbol(s) not found for architecture armv6 collect2: ld returned 1 exit status 它看起来像一个缺少的库,但我包括我认为我需要的那些 CoreGraphics中, 我还在标题中添加了 #import <MobileCoreServices/UTCoreTypes.h> #import <AssetsLibrary/AssetsLibrary.h> #import <ImageIO/CGImageProperties.h> #import <ImageIO/ImageIO.h> #import <CoreFoundation/CoreFoundation.h> #import <QuartzCore/QuartzCore.h> #import <AVFoundation/AVFoundation.h> 我一直在追我的尾巴40分钟,我想念的是什么? 非常感谢, 解决方法
对于CGImageSourceCreateWithData
添加ImageIO.framework, 但是根据#import指令的外观我会说你还需要至少添加:AVFoundation和MobileCoreServices (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- c# – 将Hashtable添加到另一个Hashtable的末尾
- JSONObject JSONArray 各种用法以及js eval()函数
- XML中的转义字符
- oracle 以online建索引失败后删除报ORA-08104
- ruby-on-rails – 根据环境限制路由
- 修改Oracle监听默认端口号1521的方法
- ruby-on-rails – 用于ActiveModel :: Errors的未
- ruby-on-rails – Rails:重命名控制器和相应的模
- ruby-on-rails – 如何将Octopress集成到我的Rai
- cocos2d使用jni调用java代码时报jni.h找不到错误
热点阅读