Skip to content

Commit a7e530e

Browse files
committed
Add build instructions on linux
1 parent eb03409 commit a7e530e

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

README.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,42 @@ Edit file `C:\Users\<Username>\AppData\Local\openvr\openvrpaths.vrpath`, add `"P
1818
![img](https://eiren.cat/ib4_)
1919
*Don't forget to double backwards slashes!*
2020

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
56+
2157
## Contributions
2258

23-
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.
59+
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 commit comments

Comments
 (0)