Skip to content

fl-la/OpenNI2_for_JetsonTX1

 
 

Repository files navigation

OpenNI Jetson TX1

This repo contains all changes to build the openni2 package on the the TX1. It is not thought for cross-compiling, just clone it directly on the TX1 and follow the build instructions. I have not created extra dependencies for aarch64, I just fixed some compiler flags (which are not usable with gcc for aarch64) and changed one pointer to integer conversion. The build process assumes that the platform is an arm!

OpenNI

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

Packages

No packages published

Languages

  • C++ 63.1%
  • C 30.0%
  • Shell 3.1%
  • Makefile 1.3%
  • Python 0.9%
  • Java 0.8%
  • Other 0.8%