-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
Most of the driver is cross-platform, however, some code in:
- https://github.com/OSVR/OSVR-Vive/blob/master/DriverLoader.cpp
- https://github.com/OSVR/OSVR-Vive/blob/master/FindDriver.cpp
is necessarily platform-specific (paths, details of loading dynamic libraries at runtime) and was only initially implemented for Windows. Valve is shipping SteamVR lighthouse drivers for OS X at this time.
Also, it has come to my attention that while SteamVR has the driver_lighthouse.dylib file in a osx32 directory, it's actually a universal binary, so getPlatformDirname() here https://github.com/OSVR/OSVR-Vive/blob/master/FindDriver.cpp#L78 on Mac should be hard-coded to always append 32 regardless of build bitness. (Why would you append 32 if you're going to make it universal? just leave off the suffix... arg)