iOS添加GPUImage到项目

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 这两项