Jump to content
  • Advertisement
Sign in to follow this  
nickme

superBible 5th did not compile.

This topic is 2538 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi,
i recently compile the ShereMapped.cpp with vc++ 2010 express, and it generated the following errors. what can i do to fix this.
thanks for your help.

1>------ Build started: Project: testing sb5, Configuration: Debug Win32 ------
1> SphereMapped.cpp
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(79): error C2061: syntax error : identifier 'GLenum'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(88): error C2061: syntax error : identifier 'GLuint'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(91): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(92): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(93): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(94): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(102): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(105): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(108): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(111): error C2061: syntax error : identifier 'GLuint'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(112): error C2061: syntax error : identifier 'GLuint'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(115): error C2146: syntax error : missing ';' before identifier 'primitiveType'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(115): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(115): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(117): error C2146: syntax error : missing ';' before identifier 'uiVertexArray'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(117): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(117): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(118): error C2146: syntax error : missing ';' before identifier 'uiNormalArray'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(119): error C2146: syntax error : missing ';' before identifier 'uiColorArray'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(119): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(119): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(120): error C2143: syntax error : missing ';' before '*'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(120): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(120): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(121): error C2146: syntax error : missing ';' before identifier 'vertexArrayObject'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(121): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(121): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(123): error C2146: syntax error : missing ';' before identifier 'nVertsBuilding'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(123): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(123): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(124): error C2146: syntax error : missing ';' before identifier 'nNumVerts'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(124): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(124): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(125): error C2146: syntax error : missing ';' before identifier 'nNumTextureUnits'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(125): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(91): error C2065: 'vVerts' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(92): error C2065: 'vNorms' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(93): error C2065: 'vColors' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(94): error C2065: 'vTex' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glbatch.h(94): error C2065: 'uiTextureLayer' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(85): error C2146: syntax error : missing ';' before identifier 'uiShaderID'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(85): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(99): error C2146: syntax error : missing ';' before identifier 'GetStockShader'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(99): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(99): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(99): warning C4183: 'GetStockShader': missing return type; assumed to be a member function returning 'int'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(102): error C2146: syntax error : missing ';' before identifier 'UseStockShader'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(102): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(102): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(102): warning C4183: 'UseStockShader': missing return type; assumed to be a member function returning 'int'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(107): error C2146: syntax error : missing ';' before identifier 'LoadShaderPair'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(107): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(107): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(107): warning C4183: 'LoadShaderPair': missing return type; assumed to be a member function returning 'int'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(110): error C2146: syntax error : missing ';' before identifier 'LoadShaderPairSrc'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(110): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(110): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(110): warning C4183: 'LoadShaderPairSrc': missing return type; assumed to be a member function returning 'int'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(113): error C2146: syntax error : missing ';' before identifier 'LoadShaderPairWithAttributes'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(113): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(113): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(113): warning C4183: 'LoadShaderPairWithAttributes': missing return type; assumed to be a member function returning 'int'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(114): error C2146: syntax error : missing ';' before identifier 'LoadShaderPairSrcWithAttributes'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(114): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(114): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(114): warning C4183: 'LoadShaderPairSrcWithAttributes': missing return type; assumed to be a member function returning 'int'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(117): error C2146: syntax error : missing ';' before identifier 'LookupShader'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(117): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(117): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(117): warning C4183: 'LookupShader': missing return type; assumed to be a member function returning 'int'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(120): error C2146: syntax error : missing ';' before identifier 'uiStockShaders'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(120): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glshadermanager.h(120): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(96): error C2061: syntax error : identifier 'GLuint'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(101): error C2146: syntax error : missing ';' before identifier 'GetIndexCount'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(101): error C2433: 'GLTriangleBatch::GLuint' : 'inline' not permitted on data declarations
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(101): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(101): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(101): warning C4183: 'GetIndexCount': missing return type; assumed to be a member function returning 'int'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(102): error C2146: syntax error : missing ';' before identifier 'GetVertexCount'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(102): error C2433: 'GLTriangleBatch::GLuint' : 'inline' not permitted on data declarations
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(102): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(102): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(102): warning C4183: 'GetVertexCount': missing return type; assumed to be a member function returning 'int'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(109): error C2143: syntax error : missing ';' before '*'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(109): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(109): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(114): error C2146: syntax error : missing ';' before identifier 'nMaxIndexes'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(114): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(114): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(115): error C2146: syntax error : missing ';' before identifier 'nNumIndexes'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(115): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(115): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(116): error C2146: syntax error : missing ';' before identifier 'nNumVerts'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(116): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(116): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(118): error C2146: syntax error : missing ';' before identifier 'bufferObjects'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(118): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(119): error C2146: syntax error : missing ';' before identifier 'vertexArrayBufferObject'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(119): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(119): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(101): error C2065: 'nNumIndexes' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltrianglebatch.h(102): error C2065: 'nNumVerts' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(144): error C2065: 'GLint' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(144): error C2065: 'nMajor' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(144): error C2065: 'GLint' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(144): error C2065: 'nMinor' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(144): error C2182: 'gltGetOpenGLVersion' : illegal use of type 'void'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(144): error C2078: too many initializers
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(153): error C2143: syntax error : missing ';' before '*'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(153): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(153): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(157): error C2143: syntax error : missing ';' before '*'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(157): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(157): error C2086: 'int GLbyte' : redefinition
1> c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(153) : see declaration of 'GLbyte'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(157): error C2061: syntax error : identifier 'GLint'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(157): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(162): error C2146: syntax error : missing ';' before identifier 'gltGrabScreenTGA'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(162): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(162): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(167): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(168): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(169): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(170): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(171): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(174): error C2061: syntax error : identifier 'GLuint'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(175): error C2061: syntax error : identifier 'GLuint'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(177): error C2146: syntax error : missing ';' before identifier 'gltLoadShaderPair'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(177): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(177): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(178): error C2146: syntax error : missing ';' before identifier 'gltLoadShaderPairWithAttributes'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(178): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(178): error C2086: 'int GLuint' : redefinition
1> c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(177) : see declaration of 'GLuint'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(178): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(180): error C2146: syntax error : missing ';' before identifier 'gltLoadShaderPairSrc'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(180): error C2086: 'int GLuint' : redefinition
1> c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(177) : see declaration of 'GLuint'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(181): error C2146: syntax error : missing ';' before identifier 'gltLoadShaderPairSrcWithAttributes'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(181): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(181): error C2086: 'int GLuint' : redefinition
1> c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(177) : see declaration of 'GLuint'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(181): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(183): error C2146: syntax error : missing ')' before identifier 'progName'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(183): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(183): error C2059: syntax error : ')'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(184): error C2146: syntax error : missing ')' before identifier 'width'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(184): error C2182: 'gltGenerateOrtho2DMat' : illegal use of type 'void'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\gltools.h(184): error C2059: syntax error : ')'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(100): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(108): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(115): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(141): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(102): error C2065: 'x' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(102): error C2065: 'y' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(102): error C2065: 'z' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(110): error C2065: 'x' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(110): error C2065: 'y' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(110): error C2065: 'z' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(117): error C2065: 'angle' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(117): error C2065: 'x' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(117): error C2065: 'y' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(117): error C2065: 'z' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(143): error C2065: 'angle' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(143): error C2065: 'vAxis' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(143): error C2065: 'vAxis' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glmatrixstack.h(143): error C2065: 'vAxis' : undeclared identifier
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glfrustum.h(49): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glfrustum.h(49): error C2535: 'GLFrustum::GLFrustum(void)' : member function already defined or declared
1> c:\users\rob\documents\gltools-freeglut\gltools-win\include\glfrustum.h(45) : see declaration of 'GLFrustum::GLFrustum'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glfrustum.h(52): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glfrustum.h(52): error C2535: 'GLFrustum::GLFrustum(void)' : member function already defined or declared
1> c:\users\rob\documents\gltools-freeglut\gltools-win\include\glfrustum.h(45) : see declaration of 'GLFrustum::GLFrustum'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glfrustum.h(60): error C2061: syntax error : identifier 'GLfloat'
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glfrustum.h(45): error C2660: 'GLFrustum::SetOrthographic' : function does not take 6 arguments
1>c:\users\rob\documents\gltools-freeglut\gltools-win\include\glfrustum.h(45): fatal error C1003: error count exceeds 100; stopping compilation
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Share this post


Link to post
Share on other sites
Advertisement
hi,
i want to add that i know that it is probably because my project's property is not right, but i do not know what. i compiled other files before. i recently started to read the book again and i encountered this problem.
thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!