码迷,mamicode.com
首页 > 移动开发 > 详细

iOS添加GPUImage到项目

时间:2016-05-13 05:15:00      阅读:258      评论:0      收藏:0      [点我收藏+]

标签:framework   import   settings   

1. 把GPUImage.xcodeproj 拖到你的Xcode project

2. 在app的target依赖设置里面添加GPUImage.a作为Target Dependency

3. 在build phase的Link Binary With Libraries, 把libGPUImage.a加进来.

4. 添加下面这些系统framework:

CoreMedia

CoreVideo

OpenGLES

AVFoundation

QuartzCore

5. 头文件搜索路径: project‘s build settings, 把GPUImage的source和source下的iOS目录加到搜索路径里, 使用相对路径和递归.

6. 包含下面这个头文件:

#import "GPUImage.h"

7. target-build setting里面,other linker flags 里面添加   -fobjc-arc   -ObjC 这两项


本文出自 “ZhuoKing” 博客,请务必保留此出处http://9951038.blog.51cto.com/9941038/1772552

iOS添加GPUImage到项目

标签:framework   import   settings   

原文地址:http://9951038.blog.51cto.com/9941038/1772552

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!