Package Details: openvr-git 1.2.10.r1.gcdc39c0-1

Git Clone URL: https://aur.archlinux.org/openvr-git.git (read-only)
Package Base: openvr-git
Description: API and runtime that allows access to VR hardware from multiple vendors. Contains API and samples. The runtime is under SteamVR in Tools on Steam.
Upstream URL: https://github.com/ValveSoftware/openvr
Licenses: custom
Provides: openvr
Submitter: haagch
Maintainer: haagch (lubosz)
Last Packager: haagch
Votes: 10
Popularity: 1.039055
First Submitted: 2015-06-15 15:18
Last Updated: 2019-02-21 12:27

Pinned Comments

haagch commented on 2018-11-28 01:42

This package is usually not needed to run SteamVR applications. They require libopenvr_api.so, but usually they will package this library with the application.

Even when developing with OpenVR is often included as a submodule and does not require a system wide installation like openvr-git provides.

This package basically installs /usr/lib/libopenvr_api.so, /usr/inlude/openvr.h, /usr/include/openvr_capi.h (with some fixes), which allows applications to link with -lopenvr_api and #include <openvr.h> without having to include openvr in the project. You only need this package if you want to do this.

It also installs the two OpenVR/SteamVR demo applications /usr/bin/hellovr_opengl and /usr/bin/hellovr_vulkan.

Latest Comments

1 2 Next › Last »

Forty-Bot commented on 2019-02-24 17:45

This package does not follow the Arch packaging guidelines. Specifically, it installs files to /usr/ which should be located in /usr/share/openvr/.

JoshH100 commented on 2019-02-07 17:51

@haagch I think it would be best to just remove the openvrpaths.vrpath check since it compiles just fine without thet constraint. (lines 51-58 in samples/CMakeLists.txt)

Also namcap detects that gcc-libs is a dependency and it doesn't appear to be pulled in by any of the required or make dependencies.

openvr-git E: Dependency gcc-libs detected and not included (libraries ['usr/lib/libstdc++.so.6', 'usr/lib/libgcc_s.so.1'] needed in files ['usr/lib/libopenvr_api.so', 'usr/bin/tracked_camera_openvr_sample'])

haagch commented on 2018-11-29 17:09

I just forgot to update the PKGBUILD after doing a build locally. :)

greyltc commented on 2018-11-29 15:22

==> Starting prepare()... error: patch failed: headers/openvr_capi.h:2163 error: headers/openvr_capi.h: patch does not apply

what now?

haagch commented on 2018-11-28 01:42

This package is usually not needed to run SteamVR applications. They require libopenvr_api.so, but usually they will package this library with the application.

Even when developing with OpenVR is often included as a submodule and does not require a system wide installation like openvr-git provides.

This package basically installs /usr/lib/libopenvr_api.so, /usr/inlude/openvr.h, /usr/include/openvr_capi.h (with some fixes), which allows applications to link with -lopenvr_api and #include <openvr.h> without having to include openvr in the project. You only need this package if you want to do this.

It also installs the two OpenVR/SteamVR demo applications /usr/bin/hellovr_opengl and /usr/bin/hellovr_vulkan.

haagch commented on 2018-11-28 01:34

Completely forgot to reply here. Looks like the CMake file for the samples requires openvrpaths.vrpath to exist now. Not sure why it's needed just for compiling samples, maybe I'll patch it out.

Anyway, SteamVR should be creating this file automatically when it is first started so there should be no need to create it manually.

pwar commented on 2018-11-19 21:50

From a clean arch install, I encountered the:

"CMake Error at CMakeLists.txt:56 (message): OPENVRPATHS-NOTFOUND Please install SteamVR SDK to continue.."

error message while building this package.

Creating the file ".config/openvr/openvrpaths.vrpath" with the following content:

"config" : [ "/home/YOURUSER/.local/share/Steam/config/" ], "external_drivers" : null, "log" : [ "/home/YOURUSER/.local/share/Steam/logs/" ], "runtime" : [ "/home/YOURUSER/.local/share/Steam/SteamApps/common/SteamVR" ] }

(YOURUSER shall be replace by your username)

as described by haagch previously allowed the build to succeed.

mueslo commented on 2018-11-19 14:54

fails with

CMake Error at CMakeLists.txt:56 (message): OPENVRPATHS-NOTFOUND Please install SteamVR SDK to continue..

haagch commented on 2017-01-31 13:03

That's a leftover, removed now. I first wanted to make directories for out of tree builds. Turns out it just puts the built binaries into a hardcoded path anyway.

marcs commented on 2017-01-31 13:00

Now the package builds fine after installing steam and downloading SteamVR from Steam.

But during the package function there's an error about a missing folder:

line 54: cd: build-samples: No such file or directory
==> ERROR: A failure occurred in package().