Hi, I am programming in OpenGLES for the iPhone, but currently I am stuck with a strange framebuffer object error.
First, I followed a few Simon Moris tutorials:
http://web.me.com/smaurice/AppleCoder/Welcome.html
But then I went on to do some of my own experiments before continuing with other textbooks, however my experiment ran into a problem. What I was trying to do was make EAGLView a ViewController view, and it worked fine when the base code was originally from the tutorials.
Since EAGLView is a subclass of UIView, it is not too difficult to do, so, continuing the experiment, I wanted to do this with a clean slate. I created a new project in Xcode with a Windows-based application project and created a new EAGLView and ViewController to accomplish the same task as the previous project.
However, after compiling and starting, the view appears white, and the console displays the error message “Failed to make the complete fake object% x” during the createFramebuffer process. (Console console error: "GLController [2071: 207] could not create the full framebuffer object 0").
At first I thought it was my code, so I tore the working code from the previous project into a new project and still get the same errors. At the same time, I moved the code of the new projects to the old project and compiled with a successful exit.
I am confused by why the same code will not work correctly in the new project, but the new code will work correctly in the old project. If someone knows what I am missing, we will be very grateful.
Thanks.
(It is also tested with several EAGLViews from Apple code samples, and the same error occurs in a new project, but does not occur in an old project with an attached ViewController.)