This tutorial assumes that you already have successfully installed latest Android SDK and NDK. This tutorial explains how to build orx from SVN for android 2.1+

There are older and more in-depth configuration steps here, should the following steps not work.

1. Clone orx svn

 the orx trunk has to be installed in the directory <NDK_ROOT>/sources/orx.
 
 cd <NDK_ROOT>/sources
 svn co https://orx.svn.sourceforge.net/svnroot/orx/trunk orx

2. Build the android-5 standalone toolchain

 <NDK_ROOT>/build/tools/make-standalone-toolchain.sh --platform=android-5 --install-dir=/tmp/android-5-toolchain
 export PATH=/tmp/android-5-toolchain/bin:$PATH
 
 note: change the install-dir to anything you want

3. Compile orx

 cd <NDK_ROOT>/sources/orx/code/build/android
 make

4. Compile orxTest sample

 cd <NDK_ROOT>/sources/orx/code/demo/android
 ndk-build

4. Import project in Eclipse

 Import an existing project into Workspace
 browse to <NDK_ROOT>/sources/orx/code/demo/android
 let eclipse build the project and deploy on your device
en/orx/tutorials/setup_android.txt · Last modified: 2011/10/25 09:16 by newton64
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki