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

Add build instructions on linux #12

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,43 @@ Edit file `C:\Users\<Username>\AppData\Local\openvr\openvrpaths.vrpath`, add `"P
![img](https://eiren.cat/ib4_)
*Don't forget to double backwards slashes!*

## Building On Linux

Note: Only for Arch

Dependencies needed:
vcpkg(Aur),
cmake

Note: On others

Dependencies Needed:
git,
g++

Run `git clone https://github.com/Microsoft/vcpkg.git`

Run `./vcpkg/bootstrap-vcpkg.sh`

### Step One

Go to the root of the project and `mkdir build`

### Step Two

In the terminal run `vcpkg install protobuf`

### Step Three

Run `cmake -B build/ -S . -DCMAKE_TOOLCHAIN_FILE=/opt/vcpkg/scripts/buildsystems/vcpkg.cmake` in the terminal

### Step Four

Run `cmake --build build/`

Should finish building if it doesn't ask for help in the discord
https://discord.gg/SlimeVR

## Contributions

By contributing to this project you are placing all your code under MIT or less restricting licenses, and you certify that the code you have used is compatible with those licenses or is authored by you. If you're doing so on your work time, you certify that your employer is okay with this.