Andriod SDL 1.2 OpenGL and NDK Questions

Hey Dudes,

I’m trying to get a working base up and going using SDL 1.2, OpenGL using NDK.
I’m familiar wtih SDL 1.2 and I have successful combined it with OpenGL for PC and it worked great.
I’m trying to get working base on the android now.

I’m not sure what I should be using, I have includes in the in the NDKr8d Android 9 such as : EGL, GLES and GLES2. What does SDL1.2 support?

I tried all the #includes in my main.cpp just to test it.

and I’m getting Description
Resource Path Location Type
Symbol ‘GL_COLOR_BUFFER_BIT’ could not be resolved main.cpp /SDLActivity/jni/src line 33 Semantic Error

GL commands don’t seem to work.

My purpose is to getting a working base going, so that I can development from it. It also seems, GLU is not part of android. Which is going be another wall to climb.

I really recommend using SDL 2.0 for Android. The SDL 1.2 API does not
cover everything you need for those devices.

I have an unfinished (WIP) blog post about it here:

Jonny DOn Thu, Apr 18, 2013 at 12:48 AM, Timodor wrote:

**
Hey Dudes,

I’m trying to get a working base up and going using SDL 1.2, OpenGL using
NDK.
I’m familiar wtih SDL 1.2 and I have successful combined it with OpenGL
for PC and it worked great.
I’m trying to get working base on the android now.

I’m not sure what I should be using, I have includes in the in the NDKr8d
Android 9 such as : EGL, GLES and GLES2. What does SDL1.2 support?

I tried all the #includes in my main.cpp just to test it.

and I’m getting Description
Resource Path Location Type
Symbol ‘GL_COLOR_BUFFER_BIT’ could not be resolved main.cpp
/SDLActivity/jni/src line 33 Semantic Error

GL commands don’t seem to work.

My purpose is to getting a working base going, so that I can development
from it. It also seems, GLU is not part of android. Which is going be
another wall to climb.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org