I noticed that LibOVR can be a bit uncooperative at times, so I decided to make a really simple example using D3D11, Direct to HMD rendering and optional multisampling.
It consists mostly of a single function without wrappers and utility functions, so it should be copy-paste-friendly and relatively easy to follow. It's tested on nVidia & AMD and I've tried writing down any pitfalls I encountered.
If you intend to compile it yourself, you'll need to point at the LibOVR source and library manually but other than that there shouldn't be any tricky external dependencies.