Here are suggestions for building the OpenVR samples for Windows 10:
- The main thing to do to make sure you will not have too many problems is to use the exact same version of everything it asks you to do and strictly follow every advice.
- Install VS 2013, even though the latest version is 2019. It will come with the appropriate build tool.
- Install Qt which have MSVC2013, the old open source Qt version. You only need this MSVC2013 component. Nothing else is needed.
- Build the project using VS 2013 (make sure to set
Release
), the latest commandcmake --build . --target all --config Release
doesn't work.
Here's the result for overlay sample:
It's a pretty simple overlay. It just creates another tab on the SteamVR Dashboard which shows a bunch of GUI elements.