Opengles |
![]() ![]() |
Opengles |
May 22 2009, 04:58 AM
Post
#1
|
|
|
|
hello,
i successfully compiled the toolchain and got the samples to run on iphone. now i wanna create an opengles app, but #include <OpenGLES/gl.h> gives me an error... are there any samples for opengles apps, or what do i have to do to let the toolchain find my includes? greets |
|
|
|
May 24 2009, 05:33 AM
Post
#2
|
|
|
|
ok i found out that i had to include something in my makefile.
but now i ran into another problem: i am trying to setup an opengl view manually (without xib file) CODE CAEAGLLayer *eaglLayer = (CAEAGLLayer*) self.layer; this line seems not to work. i get this error: CODE error: request for member 'layer' in something not a structure or union anyone? |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 7th November 2009 - 04:39 PM |