Console android app with SDL2? |
Anton Smirnov
Guest
|
Hello.
Is there any possiblity to compile console android app with SDL2? I already have libGLES2.so for android and toolchain that is working on android and compile for android (using CppDroid). According to "android-project" example the final artifacts is apk file but single executable (ELF) is desired. My question on stackoverflow: http://stackoverflow.com/questions/23237645/compile-console-android-app-with-sdl2 Regards, Anton. |
|||||||||||
|
Console android app with SDL2? |
Anton Smirnov
Guest
|
sorry, libSDL2.so
2014-04-23 17:07 GMT+06:00 Anton Smirnov:
|
|||||||||||||
|
Console android app with SDL2? |
Jorge Rodriguez
Guest
|
The link that the guy on SO sent you seems to be what you want. I don't think SDL will be in your toolchain if all you want is an Android console app in an ELF executable.
2014-04-23 13:19 GMT+02:00 Anton Smirnov:
-- Jorge "Vino" RodrÃguez [ Tw | Fb | G+ | Ht ] |
|||||||||||||||
|
Console android app with SDL2? |
Anton Smirnov
Guest
|
Not sure you understand the question correctly.
1. I know how to cross-compile SDL using Android NDK. 2. I have already compiled SDL2 and i have libSDL2.so for android (both ARM and x86) 3. I know how to use SDL in general (include header and link agains existing .so - -I, -L, -l). So i'm able to compile executable which uses SDL2 on android (most likely). Expected difficulty is that SurfaceFlinger will have to share frameBuffer between android graphics system and OpenGL. 2014-04-23 18:55 GMT+06:00 Jorge Rodriguez:
|
|||||||||||||||||
|
You can compile an executable program |