ChristophHaag / SteamVR-OpenHMD

SteamVR plugin for using OpenHMD drivers in SteamVR
Boost Software License 1.0
193 stars 33 forks source link

Installation on 64-bit Debian #4

Open DMJC opened 6 years ago

DMJC commented 6 years ago

Hi I thought this should be put up here so People can work around a fault in Steam I found. When trying to run the command to register the new drivers the registration returned an error saying libopenvr_api.so could not be found. I fixed this by creating a link at /lib/x86_64-linux-gnu/libopenvr_api.so: pointing to ~/.steam/steam/steamapps/common/SteamVR/tools/steamvr_environments/game/bin/linuxsteamrt64/libopenvr_api.so which is the 64-bit version of the library needed for Steam VR. This file came with Steam already.

ChristophHaag commented 6 years ago

Right, that's Valve's "glue" library that provides the openvr API on top of SteamVR.

Personally I have the library from https://github.com/ValveSoftware/openvr/tree/master/lib/linux64 installed in /usr/lib so for me this wasn't a problem.

I think tomorrow I'll just add small scripts to the repository to add and remove SteamVR-OpenHMD from steamvr (and save and restore steamvr.vrsettings), and that uses LD_LIBRARY_PATH for libopenvr_api.so