Hi, I just figured there's more problems because of gl3.h including windows.h, well at least the one I am trying to use, which is http://www.opengl.org/registry/api/gl3.h It includes windows.h if APIENTRY is not defined. The relevant portion of (my) gl3.h reads:
Code: #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) #define WIN32_LEAN_AND_MEAN 1 #include <windows.h> #endif The inlcude file "osg/GL" has similar "hacks" before including gl.h (which apparently does not include windows.h by itself). But I believe we are missing these hacks before including gl3.h ? Looks like that (under Windows) we need to make sure APIENTRY is defined also before including gl3.h ? If anyone can confirm that, I could submit an appropriate osg/GL Cheers, Florian ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32099#32099 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org