Oculus SDK Bridge
This library works on Windows only, and with the Oculus SDK 0.7.
How to build:
- Open Project file
- Right-Click in BridgeLib and select
Properties
-
Linker
>Input
>Additional Dependencies
- Add in the file and path for the Oculus .lib files:
C:\OculusSDK\LibOVR\Lib\Windows\Win32\Debug\VS2013\LibOVR.lib C:\OculusSDK\LibOVR\Lib\Windows\Win32\Release\VS2013\LibOVR.lib
(change it accordingly to your Oculus SDK location).
- Under the project's properties,
Configuration Properties
>C/C++
>Additional Include Directories
:
C:\OculusSDK\LibOVR\Include C:\OculusSDK\LibOVRKernel\Src
(change it accordingly to your Oculus SDK location).
- Build
Once built, the final package should be assembled with the wrapper python files such that:
//bridge (new folder) //bridge/init.py (wrapper/init.py) //bridge/hmd.py (wrapper/hmd.py) //bridge/oculus.py (wrapper/oculus.py) //bridge/win32-x86/BridgeLib.dll (Release/BridgeLib.dll)