overte/interface/external/oculus
2014-03-07 10:30:43 -08:00
..
readme.txt update sixense and oculus readme to suggest use of HIFI_LIB_DIR 2014-03-07 10:30:43 -08:00

Instructions for adding the Oculus library (LibOVR) to Interface
Stephen Birarda, March 6, 2014

You can download the Oculus SDK from https://developer.oculusvr.com/ (account creation required). Interface has been tested with SDK version 0.2.5.

1. Copy the Oculus SDK folders from the LibOVR directory (Lib, Include, Src) into the interface/externals/oculus folder.
   This readme.txt should be there as well.
   
   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 and ENV variable HIFI_LIB_DIR to a directory containing a subfolder 'oculus' that contains the three folders mentioned above.

2. Clear your build directory, run cmake and build, and you should be all set.