C, ALLEGRO, FMOD and Android
Hello forum.
I found the C4Droid and CPPDroid compilers for Android. I want to use them with the ALLEGRO and FMOD libraries. So programming ON Android FOR Android in C using these two libraries.
Has somebody experience with this? Are all ALLEGRO commands supported for the Android platform?
Are there differences compared to using it on Windows?
And it seems there are no builds of these two libraries for Android (I'm not able to build ALLEGRO myself, because I'm using no Windows or Linux platform).
Do the header files have to be modified to use C4Droid or CPPDroid? Are they supported by ALLEGRO or only GCC?
C. C.
Maybe link with static version of ALLEGRO?
ALLEGRO is not supported by C4Droid, so I installed CPPDroid.
With the header files everything ok.
I'm linking at compile time with a 'liballegro-debug.so' - successfully, but at runtime it says: cannot link executable (NameOfProgram.cpp.elf). And complains about not finding 'liballegro-debug.so'.
I think at runtime it looks for the .so in specific folders where I have not enough permissions to put the .so in...
So now I see my last chance in linking at compile time with a static library (liballegro.a), but I don't have one and am not able to build one myself.
By the way: It seems CPPDroid does not need any import library for using a shared library or generates it at compile time automatically?
Of SDL there are even no header files and no shared object in the net for Android, even worse.
C. C.