View Single Post
B-RUNO's Avatar
Posts: 124 | Thanked: 125 times | Joined on Sep 2010
#74
Hello to all,
When ever I try to compile apkenv with GLES=2 I get this error
Code:
apkenv.c: In function 'apk_basename':
apkenv.c:193: warning: return discards qualifiers from pointer target type
apkenv.c: In function 'main':
apkenv.c:356: error: 'SDL_GL_CONTEXT_MAJOR_VERSION' undeclared (first use in this function)
apkenv.c:356: error: (Each undeclared identifier is reported only once
apkenv.c:356: error: for each function it appears in.)
apkenv.c:360: error: 'SDL_OPENGLES' undeclared (first use in this function)
make: *** [apkenv.o] Error 1
By the way I have "libsdl-gles1.2-dev and install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1" installed, though I'm able to compile OpenGL ES 1.x but I can't compile it with OpenGL ES 2.0
Does anyone have any idea what I'm missing
__________________
Proud owner of a Nokia N900
If you like my post hit the Thanks button!