Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needs build instructions #30

Open
nhobson99 opened this issue Oct 10, 2021 · 4 comments
Open

Needs build instructions #30

nhobson99 opened this issue Oct 10, 2021 · 4 comments

Comments

@nhobson99
Copy link

nhobson99 commented Oct 10, 2021

To make my point clear, I know that I need to download openvr_driver.h from Valve's SDK repository, but I'm not sure what directory to put it in. I'm also not sure if I'm meant to run make.sh, or manually run cmake as per the README. Regardless, I can't get anything to become of running cmake, even with the openvr driver header file downloaded, so do I need more than that? Do I also need the rest of the SDK, or just the header files? And what are the prerequisites for building?

If I could get some more direction, I'd love to be able to run this and possibly even contribute, but as of right now, I have no idea where to start. This is such an inspiring project! Just please, give us a better README!

Sincerely,
Some guy on the Internet

@flipixwork
Copy link

Put openvr_driver.h from openvr/headers to samples directory. Compile with make.sh works for me, but after starting SteamVR I get error 307.

@cprn
Copy link
Contributor

cprn commented Nov 15, 2021

You can just install openvr package instead and it will be in global include directory. Detailed instructions in this fork.

@lordars
Copy link

lordars commented Jan 11, 2022

Install and run VR
Server

In terminal install system dependencies:

yay -S ffmpeg openvr
yay -S xorg-xwd xorg-xwininfo   # for Ubuntu: `sudo apt install x11-apps`

clone this repo:

cd ~/projects                   # or wherever you keep your repos
git clone --depth 1 https://github.com/MyrikLD/LinusTrinus
cd LinusTrinus

Install Python dependencies:

python3 -m venv .venv           # optional to install locally
source .venv/bin/activate       # and not in `/usr/lib/python*/blah/...`
pip install frame-generator wand

Compile and install driver for SteamVR:

cd samples
./make.sh
cd ..

Run server:

python3 main.py                 # with virtual environment still active

@wernight
Copy link
Contributor

wernight commented Feb 18, 2022

I suggest a few change (note some extra dependencies to be covered for newbies and avoiding yay):

# From within Steam install SteamVR:
# https://store.steampowered.com/app/250820/SteamVR/

pacman -S ffmpeg openvr xorg-xwd xorg-xwininfo python-pipenv git

git clone https://github.com/MyrikLD/LinusTrinus
cd LinusTrinus

pipenv install frame-generator wand

# Compile and install driver for SteamVR:
cd samples
pipenv run ./make.sh
cd ..

pipenv run python main.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants