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:
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.
Thanks for all of your help thus far; but no dice. I don't have that command line switch and the option is set to the default.
Reviewing the errors, it seems that there is some conflict with the windows related HWND and HDC types.
These are where I get the errors...
Maybe because of the updates I need to now specify items in a certain order?
Thanks to anyone for their help.
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