New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile on Linux Mint 19.3 #18
Comments
I am not an expert but managed to build it by using an application named cmake-qt-gui wich I was lucky to found in synaptic package manager. From this gui app you can set the exact path to openvr libraries... |
Same problem for me on Manjaro |
I went into the CMakeCache.txt that was generated and changed |
That worked, thanks! I now get another error, but it worked! |
Make sure you change the server port number in the python code to match the driver, for me I changed 5000 to 4646. The driver needs to go in the ~/.steam/steam/steamapps/common/SteamVR/drivers/ folder. You will know it works when in SteamVR dashboard you can toggle linus_trinus as an add-on in settings. I would also recommend changing windowHeight and windowWidth to match renderHeight and renderWidth in linus_trinus/resources/settings/default.vrsettings otherwise you may have gaze selection issues in some apps. Generally configuring this is probably a good idea. I am going to work on a PR for this and possibly an installation script for the driver. Please open a separate issue. |
It works for me now, thanks. I didn't need to change the port number on my end, and the driver was automatically copied into the relevant directory by the |
Interesting did the ports work after you pulled my commit or before? the driver implementation is listening on 4242 so I don't see how else this would have worked. I didn't set the environment variable so I had to set Steam's location in the make cache thanks if I need to reinstall I'll do that instead. |
Ports worked before |
so what fixes this and can we get a version that compiles in this repo? maybe with anything remotely resembling instructions in the README files? |
Provided you've installed all dependencies, it currently works on Manjaro almost out of the box. Detailed installation instructions. |
I was able to get the Python app to recognize my Android, which was great, but I couldn't figure out how to successfully compile the driver so that SteamVR could detect it.
The first problem I found was that my SteamVR path was different, it was actually: /home/user/.local/share/Steam/steamapps/common/OpenVR
Correcting that in the makefile got me a little closer but I got stuck on:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENVR_LIBRARIES
linked by target "driver_linus_trinus" in directory /home/user/Gaming/LinusTrinus-master/samples/driver_linus_trinus
I assumed that this error meant it was looking for the OpenVR library file and I tried adding that to the driver_linus_trinus folder, but that didn't work either. Unfortunately this is where I'm stuck, I was really looking forward to trying this out!
The text was updated successfully, but these errors were encountered: