Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples don't work #214

Closed
scottmboring opened this issue Jun 23, 2012 · 4 comments
Closed

Examples don't work #214

scottmboring opened this issue Jun 23, 2012 · 4 comments

Comments

@scottmboring
Copy link

I've tried running the example applications with GPUImage and most don't work. The only one that does work is the SimpleImageFilter. Some don't build because of '/usr/local/bin/appledoc: No such file or directory' which I have seen other people having the same issue but it's not clear what to do about it. The other applications build and run; but no image is displayed. The 'FitlerShowcase' in particular would be really nice to see working but as soon as I select something from the list, it shows a blank page.

I'm having issues with my own application using GPUImage in that it also shows blank images. I've tried running the applications in multiple simulators (Iphone 4.3-5.1 & ipad 4.3-5.1)

This looks like a great library and one that I would really like to take advantage of; thanks for sharing it! Any suggestions for my problem would be greatly appreciated.

@BradLarson
Copy link
Owner

The appledoc thing is due to the framework trying to build the documentation target instead of the project target. Under the Xcode schemes, make sure that if you are trying to build the framework you have either the application or the GPUImage framework selected, and not the Documentation target. appledoc is used to build the documentation, and if you don't have that installed it will throw an error. You don't need the documentation for anything, so it doesn't need to be built.

The reason why you see a white image is that you are trying to run these examples in the Simulator. The Simulator lacks a camera, so many of the examples do nothing. For those that do something, I use some texture cache functions in iOS 5.0+ that are broken in the Simulator as of 5.1. At some point, I might point in a conditional compilation check for this in building to the Simulator, but I don't use the Simulator at all with this framework due to the lack of camera and wildly different OpenGL ES performance characteristics. It really is better to work from a device when using this framework.

@scottmboring
Copy link
Author

Thanks for the response!

@felixturner
Copy link

"The appledoc thing is due to the framework trying to build the documentation target instead of the project target. Under the Xcode schemes, make sure that if you are trying to build the framework you have either the application or the GPUImage framework selected, and not the Documentation target"

To do this, click where it says "Documentation" at top left, next to the 'Run' button. Xcode will display a drop-down list of build targets.

screen shot 2015-02-09 at 5 15 07 pm

@github2016-yuan
Copy link

@felixturner is right.I came across the same problem just now and what he says solves it. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants