Skip to content

Instantly share code, notes, and snippets.

@offchan42
Last active October 9, 2020 09:02
Show Gist options
  • Save offchan42/e9cd64264ca88a9c73e2276a21ded446 to your computer and use it in GitHub Desktop.
Save offchan42/e9cd64264ca88a9c73e2276a21ded446 to your computer and use it in GitHub Desktop.
How to properly build OpenVR samples for Windows 10

Building OpenVR Samples

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 command cmake --build . --target all --config Release doesn't work.

Here's the result for overlay sample: image It's a pretty simple overlay. It just creates another tab on the SteamVR Dashboard which shows a bunch of GUI elements.

Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment