Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "OLA on Android"

From wiki.openlighting.org

Jump to: navigation, search
(Created page with " These are my notes from trying to get OLA working on Android. == Toolchain == Download the ndk. Extract. ~/android-ndk-r8c/build/tools/make-standalone-toolchain.sh --platform…")
 
m
Line 1: Line 1:
 
 
These are my notes from trying to get OLA working on Android.
 
These are my notes from trying to get OLA working on Android.
  
Line 16: Line 15:
 
<pre>
 
<pre>
 
./configure  --host=arm-linux-androideabi  CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-c++ --with-protoc=/opt/local/bin/protoc
 
./configure  --host=arm-linux-androideabi  CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-c++ --with-protoc=/opt/local/bin/protoc
 +
make
 +
</pre>
 +
 +
TODO: install into sysroot. Figure out how to package (or should we statically link to ola?)
 +
 +
== OLA ==
 +
 +
<pre>
 +
./configure --host=arm-linux-androideabi --build=i686-pc-linux-gnu CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-c++
 
make
 
make
 
</pre>
 
</pre>

Revision as of 10:02, 17 November 2012

These are my notes from trying to get OLA working on Android.

Toolchain

Download the ndk. Extract.

~/android-ndk-r8c/build/tools/make-standalone-toolchain.sh --platform=android-9 --install-dir=$HOME/android-ndk-r8c/standalone-toolchain-api9


Protobuf

Download libprotobuf & extract.

./configure   --host=arm-linux-androideabi   CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-c++ --with-protoc=/opt/local/bin/protoc
make

TODO: install into sysroot. Figure out how to package (or should we statically link to ola?)

OLA

./configure --host=arm-linux-androideabi --build=i686-pc-linux-gnu CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-c++
make