Open BackTheBack opened 1 month ago
Looks like the API was updated fairly recently, and the sample hasn't been updated to work with the new version. You likely need to implement MyHMDDisplayComponent::ComputeInverseDistortion() as it's specified in the header: https://github.com/ValveSoftware/openvr/blob/master/headers/openvr_driver.h#L2912
Thanks - this should be fixed in the next SDK update.
As mentioned, the only change needed to get the sample building again is to implement MyHMDDisplayComponent::ComputeInverseDistortion
.
Unzipping it and trying to build the driver in openvr-master\samples\drivers\drivers\simplehmd results in the error 'MyHMDDisplayComponent': cannot instantiate abstract class
this is without me making any edits to the code of the driver and this also happens on the version before the current release, I tested it and it was also broken on a virtual machine and I have not been able to fix it, likely due to my lack of skills using c++
all the other drivers compile without issue without editing any code in them