cancel
Showing results for 
Search instead for 
Did you mean: 

Advice on using OVR_CAPIShim

duncankeller
Protege

Hey,

 

I have a project that has been linking with the OVR libs that I'd like to switch to using OVR_CAPIShim and OVR_CAPI_Prototypes, but I can't find more than a sentence or two of documentation on using this. Does anybody have experience with this they can share?

I tried just naively including OVR_CAPIShim.c into the project, but it produces a handful of errors in SoftPub.h, which seems to be a Win10 SDK header.

 

softpub.h(146): error C2065: 'IN': undeclared identifier 
softpub.h(146): error C2146: syntax error: missing ')' before identifier 'PCRYPT_PROVIDER_DATA' 
softpub.h(176): error C3646: 'pfnPolicyCallback': unknown override specifier
softpub.h(176): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 

Any help appreciated

EDIT: solved, something in precompiled headers was messing it up

0 REPLIES 0