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 Dec 26, 2021
1 parent 21a5857 commit ed597eb
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,39 @@ 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

0 comments on commit ed597eb

Please sign in to comment.