Changes between Version 171 and Version 172 of AndroidPort


Ignore:
Timestamp:
Jan 28, 2012, 1:12:39 PM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v171 v172  
    290290$ make install
    291291}}}
    292  
     292
     293The game depends on libjpeg. We will use libjpeg-turbo, an ABI-compatible fork of libjpeg adding support for SIMD processing, giving us maximal performance with the target processor's ARM NEON engine.
     294
     295Download the latest version of libjpeg-turbo from [http://sourceforge.net/projects/libjpeg-turbo/files/ this page] to the working directory and then unpack it there, e.g.:
     296
     297{{{
     298$ cd ~/android
     299$ tar -xvf libjpeg-turbo-1.1.1.tar.gz
     300}}}
     301
     302Now change directory to the directory that was unpacked, e.g.:
     303
     304{{{
     305$ cd ~/android/libjpeg-turbo-1.1.1
     306}}}
     307
     308Then execute the following commands to compile the package for the target device:
     309
     310{{{
     311$ ./configure --host=$HOSTCONF --build=i686-pc-linux-gnu  --with-sysroot=$SYSROOT --prefix=$SYSROOT/usr
     312$ make
     313$ make install
     314}}}
     315
    293316=== Building the game ===
    294317The native library (i.e. the actual game) is built using the standard Premake build system as follows.