ChristophHaag / SteamVR-OpenHMD

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

Better code, I suppose #23

Closed yeah-its-gloria closed 5 years ago

yeah-its-gloria commented 5 years ago

ChangeLog:

ChristophHaag commented 5 years ago

I don't know if switching to distribution packages of OpenHMD is such a good idea because OpenHMD hasn't done a release in a really long time. For example debian has the last release in the repository which is 0.2 from 2016...

I'm also not sure about #include <openvr/openvr_driver.h>. My openvr AUR package has always put the header into /usr/include/openvr_driver.h and /usr/include/openvr.h. Is there a standard way of packaging these yet?

yeah-its-gloria commented 5 years ago

Installing openvr and OpenHMD from their corresponding repositories mostly results in the headers being installed under /usr/local/lib/<name>/, with the headers being installed inside the mentioned directories. If needed, using a config.h can help fixing that issue too.

edit: I also added a guide about how to install the latest versions of openvr and OpenHMD to make this easier to compile. I really suggest you to take a look and may even install the latest version of openvr and OpenHMD by compiling the sources on the repositories yourself.