Hi Peter,

Le 04/01/2012 10:52, Peter Bako a écrit :
> Hi,
>
> I get errors, when I try to compile my project on visual studio for 64bit 
> platform. Before on ANYCPU configurations I had no problems. The error which 
> I get is 
>
>  variable "WINGDIAPI" is not a type name 
> c:\program files (x86)\microsoft sdks\windows\v7.0a\include\gl\gl.h 
>
> and other 150 errors because of this "wingdiapi".
>
> I changed the platform, preprocessor definitions to WIN64;_WIN64;_DEBUG, the 
> path to 64bit dlls, libs and include directory.
>
> What else should I change?
>
> I am sending my project in the attachment.
>
> One more question: Is there any performance or other advantage if compiled 
> for 64bit instead of anyCPU?
>
> Thank you!

There is no attachment to this thread, but IIRC, AnyCPU is a C# thing,
not C++
If you are really compiling C++, then, as Mourad said, be sure you
included <windows.h> before <gl/gl.h>

Regards,
-Fred

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to