Forum Discussion
tmason101
11 years agoHonored Guest
Oculus SDK 0.4.4 - Errors within OVR_CAPI_GL.h
Hello, After downloading and attempting to use the new Oculus SDK 0.4.4 I now receive the following errors when attempting to compile: Within OVR_CAPI_GL.H (line 65): static_assert(offs...
tmason101
11 years agoHonored Guest
"jherico" wrote:"tmason101" wrote:
Any notable changes that would cause the above errors to occur?
The latest version of the SDK uses the OVR_ALIGNAS macro to try to ensure that all the structures defined in the C and GL headers have the same alignment. Previously, the structures would have different alignments in 32 bit and 64 bit mode and effectively hid some of the data values depending on whether you were looking at a given piece of memory as a, for instance, ovrGLTextureData or ovrTexture.
If you're getting that error, it sounds as if your compiler isn't respecting the alignment declaration.
Hmmm, thanks. I am using VC 2013.
Is there a #define I need to enable or change?
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 months ago