ChristophHaag / SteamVR-OpenHMD

SteamVR plugin for using OpenHMD drivers in SteamVR
Boost Software License 1.0
195 stars 32 forks source link

SteamVR-OpenHMD fails to compile. #54

Open hedmo opened 3 years ago

hedmo commented 3 years ago

hi . i am trying to compile SteamVR-OpenHMD but it fails with :

CMake Error at subprojects/openhmd/cmake_install.cmake:95 (file): file INSTALL cannot find "/var/tmp/portage/media-libs/SteamVR-OpenHMD-20201004/work/SteamVR-OpenHMD-20201004_build/openhmd.pc": No such file or directory. Call Stack (most recent call first): cmake_install.cmake:47 (include)

FAILED: CMakeFiles/install.util cd /var/tmp/portage/media-libs/SteamVR-OpenHMD-20201004/work/SteamVR-OpenHMD-20201004_build && /usr/bin/cmake -P cmake_install.cmake

regards hedmo build.log

EDIT: i have OpenHMD on my system. is it possible to use that ?

TheOnlyJoey commented 3 years ago

SteamVR-OpenHMD uses a submodule for openhmd so if setup correctly should automatically build. There is some information in the Readme about that. Also love the avatar MM7 is my favorite ;)

hedmo commented 3 years ago

@TheOnlyJoey . as far a i can see in the build.log openhmd is compiled but fails because ti cannot find openhmd.pc. correct me if i am wrong.

thaytan commented 3 years ago

I don't know that anyone has tested actually running make install for SteamVR-OpenHMD. Usually, one just builds it and runs ./register.sh to register the plugin files directly from the build dir.

We have discussed allowing using an external OpenHMD before - it is a good idea, just noone has done the build changes for that yet

hedmo commented 3 years ago

@thaytan thank you for the reply. as i am running all my "custom" package (not provided by gentoos package manager ) it is better to have them tracked there either way to not have conflicts in the future and clean out deps afterwards.i hope this can be fixed so i can put this global over all of my boxes as i have 4 vr sets.and using my github for manage my custom packages.