2015年12月3日 星期四

Build OpenNI from Source for multiple targets

Linux x86
Under Platform/Linux/Build
make
Or under Platform/Linux/CreateRedist/
./RedistMaker
Linux Arm
export tool chain and staging
export ARM_CXX=arm-linux-gnueabihf-g++  
export ARM_STAGING=`pwd`/Staging
Under Platform/Linux/Build type
make Platform=Arm
Or under Platform/Linux/CreateRedist/
./RedistMaker Arm
Android Arm
Under Platform/Android/jni
PATH/TO/NDK/ndk-build