• Compiling Irrlicht ogl-es branch for Android on Ubuntu GNOME 13.10 x86_64.
  • Native C/C++ Android Application (Native Activity).
  • Fullscreen (1080x1920)
  • Input Event Receiver
  • True Type Font (FreeType2)
  • OpenSL ES (Native Audio)

Environment

  • Android SDK: 22.0.5
  • Android NDK: r9
  • Android Device: Android 4.1.2 (API level 16)
  • Irrlicht 1.9 [r4528]

Download Irrlicht ogl-es branch

http://sourceforge.net/p/irrlicht/code/

  1. Select branches, ogl-es, Download Snapshot.
  2. Download.
  3. Extract.

Compile Irrlicht Library

$ cd source/Irrlicht/Andorid
$ ndk-build -j4

-> lib/Android/libirrlicht.a

Build example

$ cd examples/17.HelloWorld_Mobile
$ android update project --path . --target android-16
$ ndk-build -j4
$ ant debug

-> examples/17.HellowWorld_Mobile/HelloWorldMobile-debug.apk

TrueType Font

include/irrUString.h, jni/CGUITTFont.h, jni/CGUITTFont.cpp