GithubHelp home page GithubHelp logo

xbotgroup / openni Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openni/openni

0.0 3.0 0.0 102.08 MB

OpenNI

Home Page: www.openni.org

License: Apache License 2.0

C++ 54.86% C 22.64% Makefile 1.16% Python 1.02% HTML 8.44% CSS 0.09% Shell 3.01% M4 0.07% Batchfile 0.30% C# 3.75% Java 4.67%

openni's Introduction

OpenNI (Version 1.5.4.0 - May 7th 2012)

由**科学院软件研究所协同创新中心维护的OpenNI分支。

Sources are available at: https://github.com/XbotGroup/OpenNI

Release Notes:

TODO

Build Notes:

Linux Only

Requirements:

  1. GCC 4.x

    sudo apt-get install g++

  2. Python 2.6+/3.x

sudo apt-get install python

  1. LibUSB 1.0.x

    sudo apt-get install libusb-1.0-0-dev

  2. FreeGLUT3

    sudo apt-get install freeglut3-dev

  3. JDK 6.0

    sudo apt-get install openjdk-6-jdk

Optional Requirements (To build the documentation):

  1. Doxygen

    sudo apt-get install doxygen

  2. GraphViz

    sudo apt-get install graphviz

Optional Requirements (To build the Mono wrapper):

  1. Mono From: http://www.go-mono.com/mono-downloads/download.html Or via apt: sudo apt-get install mono-complete

Building OpenNI:

  1. Go into the directory: "Platform/Linux/CreateRedist".

    Run the script: "./RedistMaker".

    This will compile everything and create a redist package in the "Platform/Linux/Redist" directory.

    It will also create a distribution in the "Platform/Linux/CreateRedist/Final" directory.

  2. Go into the directory: "Platform/Linux/Redist".

    Run the script: "sudo ./install.sh" (needs to run as root)

    The install script copies key files to the following location:

    Libs into: /usr/lib
    
    Bins into: /usr/bin
    
    Includes into: /usr/include/ni
    
    Config files into: /var/lib/ni
    

To build the package manually, you can run "make" in the "Platform\Linux\Build" directory.

If you wish to build the Mono wrappers, also run "make mono_wrapper" and "make mono_samples".

Building OpenNI using a cross-compiler:

  1. Make sure to define two environment variables:

    • _CXX - the name of the cross g++ for platform

    • _STAGING - a path to the staging dir (a directory which simulates the target root filesystem).

    Note that should be upper cased.

    For example, if wanting to compile for ARM from a x86 machine, ARM_CXX and ARM_STAGING should be defined.

  2. Go into the directory: "Platform/Linux/CreateRedist".

    Run: "./RedistMaker " (for example: "./RedistMake Arm").

    This will compile everything and create a redist package in the "Platform/Linux/Redist" directory.

    It will also create a distribution in the "Platform/Linux/CreateRedist/Final" directory.

  3. To install OpenNI files on the target file system:

    Go into the directory: "Platform/Linux/Redist".

    Run the script: "./install.sh -c $_STAGING" (for example: "./install.sh -c $ARM_STAGING").

    The install script copies key files to the following location:

    Libs into: STAGING/usr/lib
    
    Bins into: STAGING/usr/bin
    
    Includes into: STAGING/usr/include/ni
    
    Config files into: STAGING/var/lib/ni
    

To build the package manually, you can run "make PLATFORM=" in the "Platform\Linux\Build" directory.

If you wish to build the Mono wrappers, also run "make PLATFORM= mono_wrapper" and "make PLATFORM= mono_samples".

openni's People

Contributors

openni avatar eddiecohen avatar lazyparser avatar zivhendel avatar

Watchers

James Cloos avatar Yanjun Wu avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.