I'm guessing WINGDIAPI isn't defined, but I have no idea which of the myriad VC project file options might cause this. I advise you to compare your project properties against that of, say, osgconv, to identify what you have set differently.
   -Paul

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 topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40365#40365





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
  -Paul Martz      Skew Matrix Software
                   http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to