LinusTrinus icon indicating copy to clipboard operation
LinusTrinus copied to clipboard

Build issue

Open rebokdev opened this issue 3 years ago • 3 comments

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);

rebokdev avatar Dec 07 '22 18:12 rebokdev

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)

GabJustGab avatar Feb 01 '23 16:02 GabJustGab

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

rebokdev avatar Feb 06 '23 19:02 rebokdev

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.

SnowyJune678 avatar Mar 25 '23 13:03 SnowyJune678