Skip to content

Commit ed597eb

Browse files
committed
Add build instructions on linux
1 parent 21a5857 commit ed597eb

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,39 @@ Edit file `C:\Users\<Username>\AppData\Local\openvr\openvrpaths.vrpath`, add `"P
1717

1818
![img](https://eiren.cat/ib4_)
1919
*Don't forget to double backwards slashes!*
20+
21+
## Building On Linux
22+
23+
Note: Only for Arch
24+
25+
Dependencies needed:
26+
vcpkg(Aur),
27+
cmake
28+
29+
Note: On others
30+
31+
Dependencies Needed:
32+
git,
33+
g++
34+
35+
Run `git clone https://github.com/Microsoft/vcpkg.git`
36+
37+
Run `./vcpkg/bootstrap-vcpkg.sh`
38+
39+
### Step One
40+
41+
Go to the root of the project and `mkdir build`
42+
43+
### Step Two
44+
45+
In the terminal run `vcpkg install protobuf`
46+
47+
### Step Three
48+
49+
Run `cmake -B build/ -S . -DCMAKE_TOOLCHAIN_FILE=/opt/vcpkg/scripts/buildsystems/vcpkg.cmake` in the terminal
50+
51+
### Step Four
52+
53+
Run `cmake --build build/`
54+
55+
Currently Fails

0 commit comments

Comments
 (0)