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

Difference between revisions of "Installation/Compilation Guides"

From OpenKinect
Jump to: navigation, search
m
(added Fedora/RedHat newbie instructions for download, compilation, & glview demo)
Line 32: Line 32:
 
== Instructions for Linux ==
 
== Instructions for Linux ==
  
These need to be added
+
'''RedHat/Fedora''' (based on http://openkinect.org/wiki/Getting_Started - sections should probably be synchronized)
 +
 
 +
This is what was needed to get the glview libfreenect demo working on a non-developer Fedora 12 workstation:
 +
 
 +
'''install necessary RPMs'''
 +
$ su
 +
$ yum install git cmake gcc gcc-c++ libusb1 libusb1-devel libXi libXi-devel libXmu libXmu-devel freeglut freeglut-devel
 +
$ exit
 +
 
 +
'''create a location for your repository'''
 +
$ cd /tmp
 +
$ mkdir kinect
 +
$ cd kinect
 +
 
 +
'''clone the repo'''
 +
$ git clone https://github.com/OpenKinect/libfreenect.git
 +
$ cd libfreenect
 +
 
 +
'''cmake'''
 +
$ mkdir build
 +
$ cd build
 +
$ cmake ..
 +
$ make
 +
 
 +
'''testing'''
 +
$ su
 +
$ cd bin
 +
$ glview
 +
 
 +
Note that sometimes I have to kill glview & restart to make it work.

Revision as of 18:02, 1 December 2010

THE GUIDE FOR UTTER NEWBIES (like me) as of 11/29/2010


Instructions for OSX

If you want to get ofxKinect up and running as quickly as possible, you'll need the latest Xcode (3.2.5 right now) and either version 61 or 62 of openFrameworks. Here's how I got Theo's ofxKinect demo and Dan Shiffman's Processing demo running in 10 minutes after struggling with manual builds for hours:

Plug in the Kinect - you may have to unplug and replug, close Xcode and start again to get it going - flashing green means it's still waiting to connect.

Download Theo's ofx project here:

https://github.com/ofTheo/ofxKinect

Drop the whole folder into the openFrameworks folder of_preRelease_v0061_osxSL_FAT in /apps/examples

---> Make sure you you have the LATEST Xcode, version 3.2.5 <--- This was my mistake, easy if you have it.

Go into Theo's folder (currently called ofTheo-ofxKinect-78ad750) and find ofxKinect.xcodeproj

Double-click on that, when it opens in Xcode hit build and run. It'll take a minute or so.

That's it. It's a start. Shiffman's Processing app now works (you'll need Processing 1.2.1), as does the TuioKinect app (but not the Xcode project, for some reason).

Good Luck! - Dave Pentecost (MacBook Pro, 10.6.4)


Instructions for Windows

These need to be added

Instructions for Linux

RedHat/Fedora (based on http://openkinect.org/wiki/Getting_Started - sections should probably be synchronized)

This is what was needed to get the glview libfreenect demo working on a non-developer Fedora 12 workstation:

install necessary RPMs

$ su
$ yum install git cmake gcc gcc-c++ libusb1 libusb1-devel libXi libXi-devel libXmu libXmu-devel freeglut freeglut-devel
$ exit

create a location for your repository

$ cd /tmp
$ mkdir kinect
$ cd kinect

clone the repo

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

cmake

$ mkdir build
$ cd build
$ cmake ..
$ make

testing

$ su
$ cd bin
$ glview

Note that sometimes I have to kill glview & restart to make it work.