cinder / Cinder-Kinect

Kinect support for Cinder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample code build errors.

jbum-digisynd opened this issue · comments

Building the sample code on OSX, I noticed a few issues which appear to be due to an out-of-date header file, starting with this one:

  1. The kinectBasicApp.cpp initializes the kinect with this line:
mKinect = Kinect( Kinect::Device() ); // the default Device implies the first Kinect connected

This method appears supported in kinect.cpp, but the header file doesn't appear to support the devices method - it provides the following two constructors:

Kinect() {}
Kinect( int deviceIndex );

Sorry about that - should be fixed now.

Cool! Works great now. :) Thanks for contributing this!