HI Wojtek,

Rather than pull in your changes directly I've moved the block of
includes which had been placed later on back at the start.  I've now
checked in this change/

Could you let me know if this now works fine, Cheers,
Robert.

2010/5/16 Wojciech Lewandowski <[email protected]>:
> Hi Robert,
>
> Added #include <windows.h> in GLExtensions.cpp for WIN32 to compile OSG
> under Visual Studio 2010 Express. I am not sure if the trouble is related to
> the most recent changes in OSG (on 14th of May) or if default windows header
> inclusion chain has changed somehow in VS 2010 because compiler was not
> seeing standard windows types (HDC) used by wgl functions (in line 145) .
> Adding #include<windows.h> solved the problem.
> I checked earlier versions og GLExtensions.cpp and it seems that
> #include<windows.h> was thrown away with last update related to static GLES
> linking. So I guess the problem with compilation may be wider and actually
> present in all VS versions. Unfortunately I cannot test it at home where I
> only have VS2010. I will check 2008 at work tomorrow.
>
>  Code change based on OSG trunk.
>
> Cheers,
> Wojtek Lewandowski
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to