/OpenNI2

OpenNI2

Primary LanguageC++Apache License 2.0Apache-2.0

OpenNI

Structure Core customers: OpenNI does not currently support Structure Core. To start developing with Structure Core download Structure SDK (Cross-Platform) on the Developer Portal.

OpenNI2 homepage: http://structure.io/openni

Develop branch

The latest ongoing development is currently being done in the develop branch. Refer to README and ReleasesNotes in the develop branch for up to date build instructions.

Contributing

Pull requests that do not apply cleanly on top of the develop branch head will be rejected.

Other than that, sensible and meaningful contributions are very welcome!

Building Prerequisites

Windows

Linux

Android

Building

Building on Windows:

Open the solution OpenNI.sln

Building on Linux:

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

Creating OpenNI2 packages

  • Go into the directory Packaging

  • Run:

    ReleaseVersion.py [x86|x64|arm|android]
    
  • The installer will be placed in the Final directory