Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"GPUImage.h" not found

I am trying to set up GPUImage in a project but I am not able to track down why I'm getting the error: "GPUImage.h" not found. I have added the framework, setup the target dependency, added the Header Search path as: framework, and added other linker flag -ObjC. Still no luck. I have included my super simple test project here and linked below if anyone wants to take a look.

I know this must be documented and basic, but I searched on GitHub but did not find reference to this particular issue.

Thanks for reading.

owolf.net/uploads/StackOverflow/GPUITest.zip

like image 265
Mr Ordinary Avatar asked Aug 24 '12 08:08

Mr Ordinary


1 Answers

from github readme file(step 1 ~ 3):

  1. Start by dragging the GPUImage.xcodeproj file into your application's Xcode project to embed the framework in your project.

  2. go to your application's target and add GPUImage as a Target Dependency.

  3. you'll want to drag the libGPUImage.a library from the GPUImage framework's Products folder to the Link Binary With Libraries build phase in your application's target.

  4. if you meet following errors

    “GPUImage.h” not found
    

    then the straightforward way is to add the directory to your header search paths:

    PathToGpuFramework/frameworksource
    PathToGpuFramework/frameworksource/iOS
    
like image 159
lbsweek Avatar answered Oct 12 '22 23:10

lbsweek