Chris 'Xenon' Hanson wrote: > On 6/10/2011 3:59 PM, basil huffman wrote: > > > When I include <osg/Geode>: > > 1>c:\program files\microsoft sdks\windows\v6.0a\include\gl\gl.h(1152) : > > error C2144: syntax error : 'void' should be preceded by ';' > > 1>c:\program files\microsoft sdks\windows\v6.0a\include\gl\gl.h(1152) : > > error C4430: missing type specifier - int assumed. Note: C++ does not > > support default-int > > 1>c:\program files\microsoft sdks\windows\v6.0a\include\gl\gl.h(1153) : > > error C2144: syntax error : 'void' should be preceded by ';' > > 1>c:\program files\microsoft sdks\windows\v6.0a\include\gl\gl.h(1153) : > > error C4430: missing type specifier - int assumed. Note: C++ does not > > support default-int > > 1>c:\program files\microsoft sdks\windows\v6.0a\include\gl\gl.h(1153) : > > error C2086: 'int WINGDIAPI' : redefinition > > 1> c:\program files\microsoft > > sdks\windows\v6.0a\include\gl\gl.h(1152) : see declaration of 'WINGDIAPI' > > > > Read this old topic: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-July/013760.html > > I think it's the same issue. > > -- > Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/ > Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. > Contracting. > "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen > _______________________________________________ > osg-users mailing list > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ------------------ > Post generated by Mail2Forum
bingo! #include <windows.h> fixed it right up ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40368#40368 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

