1. Download the Leap Motion Developer Kit (Developer account required) and install the Leap application that runs in the background in your taskbar/toolbar. With the app running and the Leap Motion plugged in, you should be able to run the Visualizer and see that the device is working. As of this post the SDK is at version 0.7.6.
2. Clone Cinder 0.8.5 from Git (it’s currently the dev branch and will be released soon). This version is required in order to use BanTheRewind’s Cinder-LeapSdk block*.
git clone -b dev--recursive git://github.com/cinder/Cinder.git cinder_dev
3. Build Cinder:
cd cinder_master/xcode ./fullbuild.sh
4. Clone the Cinder-LeapSdk block into cinder_master/blocks:
cd .. git submodule add https://github.com/BanTheRewind/Cinder-LeapSdk.git blocks/Cinder-LeapSdk
That’s it… find the sample Xcode projects in Cinder-LeapSdk/samples/*App/xcode and run ’em!
*If you try and use Cinder-LeapSdk with Cinder 0.8.4, you won’t be able to compile. You’ll probably see errors like this:
auto_buffer.hpp:565:57: Reference to non-static member function must be called; did you mean to call it with no arguments? Cinder.h:70:11: 'tr1/memory' file not found