Skip to content

Commit

Permalink
Add build instructions on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdIce1605 committed Jan 18, 2022
1 parent eb03409 commit a7e530e
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,42 @@ 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/`

Currently Fails

## 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.
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.

0 comments on commit a7e530e

Please sign in to comment.