LinusTrinus
LinusTrinus copied to clipboard
Issue compiling samples.
When compiling the samples, during CMAKE right after configuration is completed I get this error:
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/<my_home>/Downloads/LinusTrinus-master/samples/driver_linus_trinus
-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.
i too have this issue
A solution for me ended up being:
- Cloning the latest version of the OpenVR repo
- Copying the
linux64folder from inside ofbin - Pasting it into a folder called
apiinside thesamplesdirectory from this project
A solution for me ended up being:
* Cloning the latest version of the OpenVR repo * Copying the `linux64` folder from inside of `bin` * Pasting it into a folder called `api` inside the `samples` directory from this project
I can confirm this.

Everything went fine, but I receive this bug in the end:
/usr/bin/ld: could not find -lOPENVR_LIBRARIES-NOTFOUND: Missing file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/build.make:161: bin/linux64/driver_linus_trinus.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:99: driver_linus_trinus/CMakeFiles/driver_linus_trinus.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
I've tried the solution mentioned above,
Cloning the latest version of the OpenVR repo
Copying the linux64 folder from inside of bin
Pasting it into a folder called api inside the samples directory from this project
but in my Ubuntu 22.04 I cant find the folder Linux64 inside /bin/ , what lays there is just a simulink , and moving it inside /api/ folder don't solve anything. Does someone know what could be happening?
@danielpiven first download/clone this repo: https://github.com/ValveSoftware/openvr At this repo's root, you'll find a folder called "bin", and another folder called "linux64" inside it. Copy the "linux64" folder. In LinusTrinus' "samples" folder, create another folder and call it "api". Paste the "linux64" folder into this "api" folder and that should be it. I confirm it works in Ubuntu 22.04.