Forum Discussion
2EyeGuy
11 years agoAdventurer
SDK include issues
* The include files are in the Src folder rather than in the Include folder. * All the include files require you to include "Kernel/OVR_Types.h" first, or they don't work. That is just silly, if they...
philigaultier
11 years agoHonored Guest
You basically just have to include these files:
And
I've found that glew is kinda required because the SDK uses internally some gl features your project might not have included.
PS: the above is relevant for Linux. Should behave the same way for other plateforms but it is to be tested.
#include <GL/glew.h>
#include "OVR/LibOVR/Include/OVR.h"
#include "OVR/LibOVR/Src/OVR_CAPI.h"
#include "OVR/LibOVR/Src/OVR_CAPI_GL.h"
And
#include "OVR/LibOVR/Src/Kernel/OVR_Math.h"if you're working with matrix.
I've found that glew is kinda required because the SDK uses internally some gl features your project might not have included.
PS: the above is relevant for Linux. Should behave the same way for other plateforms but it is to be tested.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago