Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac support - completed but needs docs #5

Open
rpavlik opened this issue Mar 23, 2016 · 2 comments
Open

Mac support - completed but needs docs #5

rpavlik opened this issue Mar 23, 2016 · 2 comments

Comments

@rpavlik
Copy link
Member

rpavlik commented Mar 23, 2016

Most of the driver is cross-platform, however, some code in:

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)

@mjp0
Copy link

mjp0 commented Jul 30, 2016

Just checking that is this suppose to be fixed by those merges?

I'm getting this when trying to run ViveDisplayExtractor:

libc++abi.dylib: terminating with uncaught exception of type osvr::vive::CouldNotLoadDriverModule: Could not load driver module: dlopen(/Users/zero/Library/Application Support/Steam/steamapps/common/SteamVR/drivers/lighthouse/bin/osx32/driver_lighthouse.dylib, 10): Library not loaded: @loader_path/libaitcamlib.dylib
  Referenced from: /Users/zero/Library/Application Support/Steam/steamapps/common/SteamVR/drivers/lighthouse/bin/osx32/driver_lighthouse.dylib
  Reason: image not found

Running OSX 10.10.5 and I've latest SteamVR installed.

@rpavlik
Copy link
Member Author

rpavlik commented Sep 27, 2016

Yes, it should work, but you have to set LD_LIBRARY_PATH or DYLIB_LOADER_PATH or something like that to include the lighthouse driver dir. No working mac here anymore so I can't test, but it's something like that. Documentation contribution on osvr-docs would be greatly appreciated.

@rpavlik rpavlik changed the title Mac support Mac support - completed but needs docs Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants