From a7e530e70dcdb756aff0335a655933a2c7411771 Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 26 Dec 2021 16:04:23 -0600 Subject: [PATCH 1/2] Add build instructions on linux --- README.md | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 31d62b7..a8ebc2b 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,42 @@ Edit file `C:\Users\\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. \ No newline at end of file From 68f5297868371ebcdaf331b291a5b08a57483247 Mon Sep 17 00:00:00 2001 From: James R <71466513+ColdIce1605@users.noreply.github.com> Date: Wed, 16 Feb 2022 01:49:59 -0600 Subject: [PATCH 2/2] Update Builds on fork though it crashes SteamVR. Planning on making a little script that installs everything for Linux users along with a uninstall script. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a8ebc2b..f11c77c 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,9 @@ Run `cmake -B build/ -S . -DCMAKE_TOOLCHAIN_FILE=/opt/vcpkg/scripts/buildsystems Run `cmake --build build/` -Currently Fails +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. \ No newline at end of file +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.