matzman666 / OpenVR-InputEmulator

An OpenVR driver that allows to create virtual controllers, emulate controller input, manipulate poses of existing controllers and remap buttons. A client-side library that communicates with the driver via shared-memory is also included.
GNU General Public License v3.0
718 stars 138 forks source link

Cannot get OVR_IE (Version sharkyh20 SteamVR-Fix-28-11-18) to work after compiling it #162

Open DevNMY opened 5 years ago

DevNMY commented 5 years ago

After downloading the most current version including all(?) fixes from here https://github.com/sharkyh20/OpenVR-InputEmulator/tree/SteamVR-Fix-28-11-18 and setting up my build environment as follows:

Then build as Release x64, run client_overlay\bin\windeployqt.bat, and then either install via NSIS (or directly start OpenVR-InputEmulator\client_overlay\bin\win64\OpenVR-InputEmulatorOverlay.exe, doesn't matter which), the OpenVR-IE menu button does not appear in the SteamVR system menu, and the following log messages are printed: Tue May 28 2019 18:41:46.202 - External connection from C:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\vrwebhelper\win64\vrwebhelper.exe 8500 Tue May 28 2019 18:41:46.202 - Received success response from vrcompositor connect Tue May 28 2019 18:41:46.202 - Initializing the limited version of CVRCompositorClient Tue May 28 2019 18:41:46.218 - Open http://localhost:8998/lighthouse/webinterface/pairing.html?persisted=true Tue May 28 2019 18:41:46.219 - Open http://localhost:8998/dashboard/bindingcallouts.html Tue May 28 2019 18:41:46.219 - Open http://localhost:8998/dashboard/controllerbinding.html Tue May 28 2019 18:41:46.221 - Open http://localhost:8998/dashboard/progressindicator.html Tue May 28 2019 18:41:46.221 - Open http://localhost:8998/dashboard/systemui.html Tue May 28 2019 18:41:46.579 - Closing pipe OpenVR-InputEmulatorOverlay (9104) because it was broken from the other end Tue May 28 2019 18:41:46.579 - Process OpenVR-InputEmulatorOverlay (9104) disconnected (Thread(0x000002188CEFE350/0x000) Tue May 28 2019 18:41:46.579 - Clearing application system.generated.openvr-inputemulatoroverlay.exe PID because 9104 has exited Tue May 28 2019 18:41:46.579 - Closing pipe OpenVR-InputEmulatorOverlay (9104) because it was broken from the other end Tue May 28 2019 18:41:46.579 - Process OpenVR-InputEmulatorOverlay (9104) disconnected (Thread(0x0000025BFEADB470/0x000) Tue May 28 2019 18:41:46.579 - Lost pipe connection from OpenVR-InputEmulatorOverlay (9104)

Could anybody please suggest what is going wrong, or how I can get a more detailed error description, or how to actually build the repository correctly? We cannot simply use sharky's published .dll, as we must make code adaptations in MotionCompensationManager.cpp for our MotionSim, and thus need to be able to build the project ourselves :-(

Thank you very much! Cheers, Wolfram

pottedmeat7 commented 5 years ago

Find the VRInputEmulator.log, ,if you run the installer its in C:\Users\<USERNAME>\AppData\Roaming\matzman666\OpenVR-InputEmulator\ That may have why the exe is crashing

DevNMY commented 5 years ago

Find the VRInputEmulator.log, ,if you run the installer its in C:\Users\<USERNAME>\AppData\Roaming\matzman666\OpenVR-InputEmulator\ That may have why the exe is crashing

Whoa, thanks a lot! This information was a lifesaver! That file is not documented anywhere (except RTFS, I guess...)

What's ALSO not documented is the fact, that you NEED Qt 5.9 for building since version 1.3 - Qt 5.7 (which is the one the installer readme explicitly mentions) is NO LONGER WORKING. It will build fine - but when starting, it will simply exit as it cannot find the necessary libraries.

These two little missing informations (=the undocumented error log, plus the incorrect information that Qt 5.7 is needed to build+run the project) have cost us now about 3-4 days in total, which could have been easily prevented :-(

Can this information be updated please on the project page?