Solved
can't access ovrSession fields
I'm trying to get an app rendered to the oculus but I'm stuck at the top of Texture Swap Chain Initialization here:
https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-render/#dg_render
I'm specifically having trouble with this:
session->DefaultEyeFov[0]
visual studio has a read underline under session complaining: "incomplete class type not allowed". After googling this error it seems I need to include the header file where ovrSession is defined. Looking at the developer reference it seems I would need OVR_CAPI but I alread have it included. These are the header files I've included:
// Include the OculusVR SDK headers
#include <OVR_CAPI.h>
#include <Extras/OVR_Math.h>
Am I missing one?
https://developer.oculus.com/documentation/pcsdk/latest/concepts/dg-render/#dg_render
I'm specifically having trouble with this:
session->DefaultEyeFov[0]
visual studio has a read underline under session complaining: "incomplete class type not allowed". After googling this error it seems I need to include the header file where ovrSession is defined. Looking at the developer reference it seems I would need OVR_CAPI but I alread have it included. These are the header files I've included:
// Include the OculusVR SDK headers
#include <OVR_CAPI.h>
#include <Extras/OVR_Math.h>
Am I missing one?
