GithubHelp home page GithubHelp logo

libovr's Introduction

LibOVR

This project add linux specific code for oculus rift's LibOVR.

Compilation

This project use the usual autoconf workflow for compilation and installation. Just run

./autogen.sh && ./configure && make

Installation

To install shared lib and headers to /usr/local/{lib,include}, just run

sudo make install

The headers are installed to match the expected hierarchy in oculus sdk demos.

To use the shared library and pkgconfig file, you may need to update your environment variable to include /usr/local path :

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Usage

You need to add an udev rule in order to access the oculus hid as user.

echo 'KERNEL=="hidraw*", ATTR{idVendor}=="2833", ATTRS{busnum}=="1", MODE="0666"' > /etc/udev/rules.d/99-hid.rules

To compile your project with libovr, use pkg-config on compilation and link

`pkg-config --cflags libovr-0.2.2`
`pkg-config --libs libovr-0.2.2`

You can use libovr as described in the oculus sdk documentation.

License

This library falls under the Oculus Rift SDK License.

(C) Oculus VR, Inc. 2013. All Rights Reserved. The latest version of the Oculus SDK is available at http://developer.oculusvr.com.

libovr's People

Contributors

bonnefoa avatar

Watchers

 avatar  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.