OpenNI for DS325 on Android/ARM Linux ------------------------------------- Website: github.com/siprop/openni2ds325 Buliding Prerequisites ====================== Android ------- - Android NDK r8d From: http://developer.android.com/tools/sdk/ndk/index.html#Downloads Building ======== Building on Linux: Linux (Ubuntu 14.04 for ARM) ---------------------------- Install dependencies: $ sudo apt-get install g++ python libusb-1.0-0-dev libudev-dev openjdk-6-jdk freeglut3-dev doxygen graphviz Run: $ make Cross-Compiling for ARM on Linux: The following environment variables should be defined: - ARM_CXX=<path to cross-compilation g++> - ARM_STAGING=<path to cross-compilation staging dir> Then, run: $ PLATFORM=Arm make - NOTE: for Raspberry Pi, check CFLAGS and DEFINES in ThirdParty/PSCommon/BuildSystem/Platform.Arm. Creating OpenNI2 package: - Go into the directory 'Packaging' - Run ReleaseVersion.py [arm|android] NOTE: for android, NDK_ROOT must be defined, pointing to the NDK installation dir. - Installer will be placed in the 'Final' directory Sample ====== "Samples/DS325Sample" dir is a sample Android application for DS325 Driver.