Error C2719 when trying to compile on VS 2010
Good afternoon.
I am trying to create a demo which links against libovr using Visual Studio 2010 in windows.
I used as a basis the opengl demo from
http://nuclear.mutantstargoat.com/hg/oculus2/file/tip
However, I am getting the following error:
...\oculussdk\libovr\src\OVR_CAPI.h(661): error C2719: 'eyeTexture': formal parameter with __declspec(align('8')) won't be aligned
(the same line compiles correctly when I compile the demos which are inside the official sdk, version 0.4.4-beta).
I have checked the property pages for the visual studio solution, and all the options seems to match.
However, the error tells me I must have missed something.
I have googled the error but have not been able to find any clues on how to fix it.
Any help is appreciated.
Ruben
EDIT:
I managed to get it to work by using the explanations in
viewtopic.php?f=20&t=8949#p155558
I am trying to create a demo which links against libovr using Visual Studio 2010 in windows.
I used as a basis the opengl demo from
http://nuclear.mutantstargoat.com/hg/oculus2/file/tip
However, I am getting the following error:
...\oculussdk\libovr\src\OVR_CAPI.h(661): error C2719: 'eyeTexture': formal parameter with __declspec(align('8')) won't be aligned
(the same line compiles correctly when I compile the demos which are inside the official sdk, version 0.4.4-beta).
I have checked the property pages for the visual studio solution, and all the options seems to match.
However, the error tells me I must have missed something.
I have googled the error but have not been able to find any clues on how to fix it.
Any help is appreciated.
Ruben
EDIT:
I managed to get it to work by using the explanations in
viewtopic.php?f=20&t=8949#p155558
