overte/interface/external/leapmotion
samcake f179b0e9ca Merge remote-tracking branch 'origin/master' into 19734
Conflicts:
	cmake/modules/FindLeapMotion.cmake
	interface/CMakeLists.txt
	interface/src/devices/Leapmotion.h
2014-07-08 12:43:32 -07:00
..
include Support for LeapMotion and worklist 19734 2014-07-01 03:15:26 -07:00
lib Clean file formating 2014-07-07 09:24:23 -07:00
readme.txt Merge remote-tracking branch 'origin/master' into 19734 2014-07-08 12:43:32 -07:00

Instructions for adding the Leap Motion library (LeapSDK) to Interface
Sam Cake, June 10, 2014

You can download the Leap Developer Kit from https://developer.leapmotion.com/ (account creation required).
Interface has been tested with SDK version LeapDeveloperKit_2.0.2+16391_win.

1. Copy the LeapSDK folders from the LeapDeveloperKit installation directory (Lib, Include) into the interface/externals/leapmotion folder.
   This readme.txt should be there as well.
   
   The files neeeded in the folders are:
   
   include/
   - Leap.h
   - Leap.i
   - LeapMath.h
   
   lib/
     x86/
     - Leap.dll
     - Leap.lib
     - mscvcp120.dll (optional if you already have the Msdev 2012 SDK redistriuable installed)
     - mscvcr120.dll (optional if you already have the Msdev 2012 SDK redistriuable installed)
   
   You may optionally choose to copy the SDK folders to a location outside the repository (so you can re-use with different checkouts and different projects). 
   If so our CMake find module expects you to set the ENV variable 'HIFI_LIB_DIR' to a directory containing a subfolder 'leapmotion' that contains the 2 folders mentioned above (Include, Lib).
    
2. Clear your build directory, run cmake and build, and you should be all set.