OSVR / OSVR-Unreal

OSVR plugin for Unreal Engine
Apache License 2.0
89 stars 45 forks source link

OSX #4

Open bwiklund opened 9 years ago

bwiklund commented 9 years ago

Should this be working on OSX? I can't find a way to play/launch/build the demo project correctly, it just renders normally (no hmd movement/rotation, single image, no distortion)

kafumanto commented 9 years ago

Currently it depends on the Windows binaries of OSVR-Core (you can run OSVR/ThirdParty/OSVR/ImportFromSDK.bat to copy relevant files from the OSVR-Core binaries to the Plugin's ThirdParty directory). To let OSVRsample working, (if I remember correctly) you have to copy the "updated" OSVR directory into OSVRsample/Source.

If you can compile the OSVR-Core binaries for OSX and place them as needed, you can change the function LoadOSVRLib in the file OSVR/Source/OSVR/OSVR.Build.cs to link the OSX library files (rows 75-84).

rpavlik commented 9 years ago

We don't have any "official" build bots running OS X, but I've been told that OSVR-Core did build in the past on OS X, and it certainly should be able to (there's one piece - the "finding executable directory to set up plugin search directory" - I know of that has been added since then which would need implementation). Happy to work with you to accept any changes required for an OS X build.