MyrikLD / LinusTrinus

TrinusVR streaming server for Linux
128 stars 16 forks source link

Build issue #45

Open rebokdev opened 1 year ago

rebokdev commented 1 year ago

I'm building using the readme.md from samples and i get this:

/home/rebok/LinusTrinus/samples/driver_linus_trinus/watchdog.cpp:58:45: error: no matching function for call to ‘vr::IVRWatchdogHost::WatchdogWakeUp(vr::ETrackedDeviceClass)’ 58 | vr::VRWatchdogHost()->WatchdogWakeUp(vr::TrackedDeviceClass_HMD);

GabJustGab commented 1 year ago

Quite late with the answer, but I just got that error as well. Apparently, you need to download the latest version of the OpenVR headers and not the ones specified on the README.md in the samples folder, it seems to solve the issue (at least in my case)

rebokdev commented 1 year ago

now i got

/usr/bin/ld: cannot find -lOPENVR_LIBRARIES-NOTFOUND: No such file or directory

maybe that cause i didn't install openvr but i don't know how i have searched for this package in fedora repo and coprs and i can't find

SnowyJune678 commented 1 year ago

Yup, its not in Fedora repos - https://pkgs.org/search/?q=openvr

I recommend using a Distrobox (https://github.com/89luca89/distrobox) container with Arch Linux, and use pacman -S to install the dependencies and compile within the container.

SteamVR Home is kinda wonky, everything is blue, but I'm not sure if that has anything to do with this.