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...
jherico
11 years agoAdventurer
Not that I know of. I'm using VS2013 as well, and I don't get that error. I've built the 0.4.4 code in both 32 and 64 bit using my CMake configuration in my repository here: https://github.com/jherico/OculusSDK
I don't get that error.
Given that you can build the samples, and you're working with a custom project, there must be a C++ compile setting in your project that is conflicting with the SDK. Look for a /Zp command line switch in your compile settings, or check the Code Generation page in the C++ settings for your project properties. There is a 'Struct Member Alignment' setting. If it's not set to 'default' that might be your problem.
I don't get that error.
Given that you can build the samples, and you're working with a custom project, there must be a C++ compile setting in your project that is conflicting with the SDK. Look for a /Zp command line switch in your compile settings, or check the Code Generation page in the C++ settings for your project properties. There is a 'Struct Member Alignment' setting. If it's not set to 'default' that might be your problem.
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