Hi Alisan,
I believe the errors that you are receiving are due to the order in which headers are included (or not included at all). I believe that the <windows.h> header must be before the <gl.h> include. And if not, you'll get the errors you listed. Try that. Or you can Google the error as well.
Chuck is on the right track, but actually, I think you may have made a mistake in the Preprocessor Definitions. These errors will appear if you have not defined WIN32, as OSG will automatically define the right symbols (APIENTRY, WINAPI, WINGDIAPI, CALLBACK, etc.) before including gl.h if you have WIN32 defined, and without needing to include windows.h. See OpenSceneGraph/include/osg/GL, lines 34-91.
So make sure you have the right preprocessor definitions. They should be at least:
Debug: WIN32,_WIN32,_DEBUG Release: WIN32,_WIN32,NDEBUG Hope this helps, J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

