ios - No visible @interface for 'GPUImageOutput<GPUImageInput>' declares the selector 'imageFromCurrentlyProcessedOutputWithOrientation:' -


i'm in charge of old project else created in company time ago, , have make changes using xcode 5.1

the thing is, compiled ok 1 year ago (spring of 2013) doesn't compile right now. project contains gpuimage library subproject. error xcode yields:

no visible @interface 'gpuimageoutput<gpuimageinput>' declares selector 'imagefromcurrentlyprocessedoutputwithorientation:'

when try compile these 2 lines:

if( self.grayscaleoutput ) {     photo = [grayscalefilter imagefromcurrentlyprocessedoutputwithorientation:uiimageorientationup]; } else {     photo = [blendfilter imagefromcurrentlyprocessedoutputwithorientation:uiimageorientationup]; } 

i let xcode 5.1 change settings of project (it recommended me it), no luck. hint? setting need activate? arc misery might still remain in old lines of code?

note: i've replaced 1 year old gpuimage library using, 1 i've freshly downloaded github. , no luck either.

right, changed interface last week, reasons explain here.

in short, gpuimagefilters use cached framebuffers. means image capture them has changed slightly. make people aware of this, renamed methods involved, although perhaps have found way warn this. new equivalent -imagefromcurrentframebufferwithorientation:, before use need call -usenextframeforimagecapture on filter indicate extracting image next time filter runs. needs either called before use -processimage on gpuimagepicture source or right before use -imagefromcurrentframebufferwithorientation: on filter pulling video source.

this required, because framework needs know hold onto cached framebuffer little longer normal, instead of returning cache conserve memory. done automatically during photo capture or when using convenience method -imagebyfilteringimage:, needs manually triggered when extracting image in code.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -