How to add GPUImage to an iOS project?

I am trying to make a camera / photo application that will add a filter to the image. I heard about Brad Larson's GPUImage and therefore downloaded it and tried to manipulate it to get a better look at the code.

Now I created a new project in Xcode and added it to my frameworks, but I don’t know how to use it in a new project.

How can I use GPUImage correctly in my new project?

+5
source share
3 answers

I don’t know how I could be much clearer than the step-by-step instructions on which I put the very first page of the GitHub project and in README.md in the section “Adding a framework to an iOS project”:

, . GPUImage.xcodeproj Xcode . GPUImage . , libGPUImage.a GPUImage . .

GPUImage , , :

  • CoreMedia
  • CoreVideo
  • OpenGLES
  • AVFoundation
  • QuartzCore

, / GPUImage. .

GPUImage , , :

#import "GPUImage.h"

: " GPUImageView Interface Builder" Interface Builder, -ObjC .

, iOS 4.x, Xcode (4.3) , Core message " : _CVOpenGLESTextureCacheCreate", App Store ad hoc . " " , Link Binary With Libraries CoreVideo.framework . " ".

, ARC- , , , iOS 4.x, -fobjc-arc .

, , .

+16

, GPUImage : . Although the GPUImage CocoaPods repository is not actually supported by Brad, it is maintained fairly regularly, and this makes integration easy.

> Go to him

+1
source

All Articles