Notice: MediaWiki has been updated. Report any rough edges to marcan@marcan.st

Difference between revisions of "Getting Started"

From OpenKinect
Jump to: navigation, search
(Manual build under linux)
(Ubuntu)
Line 19: Line 19:
 
   
 
   
 
  $ sudo add-apt-repository ppa:arne-alamut/freenect
 
  $ sudo add-apt-repository ppa:arne-alamut/freenect
 +
 +
Resynchronize the list of packages from the repository:
 +
 +
$ sudo apt-get update
 
   
 
   
after that, you can use  
+
After that, you can use:
  
 
  $ sudo apt-get install libfreenect
 
  $ sudo apt-get install libfreenect

Revision as of 10:39, 19 November 2010

This page documents how to get started using OpenKinect.

The libraries are very much in flux and this won't be the final process. This also means these instructions might be out of date with the latest commits.

Linux

Already compiled rpm and deb packages are available here: http://livingplace.informatik.haw-hamburg.de/blog/?p=228

Please note, that there are not udev generated devices for now, so you need to execute your programs as root (use sudo)

Ubuntu

An Ubuntu launchpad ppa for Lucid(10.04) and Maverick (10.10) is available at:

https://launchpad.net/~arne-alamut/+archive/freenect

to use it, open a console and execute:

$ sudo add-apt-repository ppa:arne-alamut/freenect

Resynchronize the list of packages from the repository:

$ sudo apt-get update

After that, you can use:

$ sudo apt-get install libfreenect

After that, you need to addyourself to the 'video' group and log back in.

$ sudo adduser YOURNAME video

To start the OpenGL demo application:

$ glview

Manual build under linux

these instruction need more work, mostly taken from README.asciidoc

clone the repo

$ git clone https://github.com/OpenKinect/libfreenect/
$ cd libfreenct

cmake

$ mkdir c/build
$ cd c/build
$ cmake ..
$ make

test

maybe you need to do this as root

$ examples/glview

OS X

Instructions: someone verify http://www.spoofscript.com/blog/?p=327

Windows

Getting Started in Windows Getting_Started_Windows


Dependencies

http://sourceforge.net/apps/trac/libusb-win32/wiki

ftp://sourceware.org/pub/pthreads-win32/dll-latest

http://www.xmission.com/~nate/glut.html