prog.cpp:25:21: error: GL/glew.h: No such file or directory
prog.cpp:26:25: error: GL/freeglut.h: No such file or directory
prog.cpp:35: error: ‘GLuint’ does not name a type
prog.cpp:43: error: expected initializer before ‘*’ token
prog.cpp:58: error: expected initializer before ‘*’ token
prog.cpp: In function ‘int main(int, char**)’:
prog.cpp:87: error: ‘glutMainLoop’ was not declared in this scope
prog.cpp: In function ‘void Initialize(int, char**)’:
prog.cpp:94: error: ‘GLenum’ was not declared in this scope
prog.cpp:94: error: expected `;' before ‘GlewInitResult’
prog.cpp:98: error: ‘glewExperimental’ was not declared in this scope
prog.cpp:98: error: ‘GL_TRUE’ was not declared in this scope
prog.cpp:99: error: ‘GlewInitResult’ was not declared in this scope
prog.cpp:99: error: ‘glewInit’ was not declared in this scope
prog.cpp:101: error: ‘GLEW_OK’ was not declared in this scope
prog.cpp:105: error: ‘glewGetErrorString’ was not declared in this scope
prog.cpp:113: error: ‘GL_VERSION’ was not declared in this scope
prog.cpp:113: error: ‘glGetString’ was not declared in this scope
prog.cpp:119: error: ‘glClearColor’ was not declared in this scope
prog.cpp: In function ‘void InitWindow(int, char**)’:
prog.cpp:124: error: ‘glutInit’ was not declared in this scope
prog.cpp:127: error: ‘GLUT_ACTION_ON_WINDOW_CLOSE’ was not declared in this scope
prog.cpp:128: error: ‘GLUT_ACTION_GLUTMAINLOOP_RETURNS’ was not declared in this scope
prog.cpp:129: error: ‘glutSetOption’ was not declared in this scope
prog.cpp:131: error: ‘glutInitWindowSize’ was not declared in this scope
prog.cpp:133: error: ‘GLUT_DEPTH’ was not declared in this scope
prog.cpp:133: error: ‘GLUT_DOUBLE’ was not declared in this scope
prog.cpp:133: error: ‘GLUT_RGBA’ was not declared in this scope
prog.cpp:133: error: ‘glutInitDisplayMode’ was not declared in this scope
prog.cpp:135: error: ‘glutCreateWindow’ was not declared in this scope
prog.cpp:145: error: ‘glutReshapeFunc’ was not declared in this scope
prog.cpp:146: error: ‘glutDisplayFunc’ was not declared in this scope
prog.cpp:147: error: ‘glutIdleFunc’ was not declared in this scope
prog.cpp:148: error: ‘glutTimerFunc’ was not declared in this scope
prog.cpp:149: error: ‘glutCloseFunc’ was not declared in this scope
prog.cpp: In function ‘void ResizeFunction(int, int)’:
prog.cpp:156: error: ‘glViewport’ was not declared in this scope
prog.cpp: In function ‘void RenderFunction()’:
prog.cpp:163: error: ‘GL_COLOR_BUFFER_BIT’ was not declared in this scope
prog.cpp:163: error: ‘GL_DEPTH_BUFFER_BIT’ was not declared in this scope
prog.cpp:163: error: ‘glClear’ was not declared in this scope
prog.cpp:165: error: ‘GL_TRIANGLES’ was not declared in this scope
prog.cpp:165: error: ‘glDrawArrays’ was not declared in this scope
prog.cpp:167: error: ‘glutSwapBuffers’ was not declared in this scope
prog.cpp:168: error: ‘glutPostRedisplay’ was not declared in this scope
prog.cpp: In function ‘void IdleFunction()’:
prog.cpp:173: error: ‘glutPostRedisplay’ was not declared in this scope
prog.cpp: In function ‘void TimerFunction(int)’:
prog.cpp:191: error: ‘glutSetWindowTitle’ was not declared in this scope
prog.cpp:196: error: ‘glutTimerFunc’ was not declared in this scope
prog.cpp: In function ‘void CreateVBO()’:
prog.cpp:207: error: ‘GLfloat’ was not declared in this scope
prog.cpp:207: error: expected `;' before ‘Vertices’
prog.cpp:213: error: expected `;' before ‘Colors’
prog.cpp:219: error: ‘GLenum’ was not declared in this scope
prog.cpp:219: error: expected `;' before ‘ErrorCheckValue’
prog.cpp:221: error: ‘VaoId’ was not declared in this scope
prog.cpp:221: error: ‘glGenVertexArrays’ was not declared in this scope
prog.cpp:222: error: ‘glBindVertexArray’ was not declared in this scope
prog.cpp:224: error: ‘VboId’ was not declared in this scope
prog.cpp:224: error: ‘glGenBuffers’ was not declared in this scope
prog.cpp:225: error: ‘GL_ARRAY_BUFFER’ was not declared in this scope
prog.cpp:225: error: ‘glBindBuffer’ was not declared in this scope
prog.cpp:226: error: ‘Vertices’ was not declared in this scope
prog.cpp:226: error: ‘GL_STATIC_DRAW’ was not declared in this scope
prog.cpp:226: error: ‘glBufferData’ was not declared in this scope
prog.cpp:227: error: ‘GL_FLOAT’ was not declared in this scope
prog.cpp:227: error: ‘GL_FALSE’ was not declared in this scope
prog.cpp:227: error: ‘glVertexAttribPointer’ was not declared in this scope
prog.cpp:228: error: ‘glEnableVertexAttribArray’ was not declared in this scope
prog.cpp:230: error: ‘ColorBufferId’ was not declared in this scope
prog.cpp:232: error: ‘Colors’ was not declared in this scope
prog.cpp:236: error: ‘ErrorCheckValue’ was not declared in this scope
prog.cpp:236: error: ‘glGetError’ was not declared in this scope
prog.cpp:237: error: ‘GL_NO_ERROR’ was not declared in this scope
prog.cpp:242: error: ‘gluErrorString’ was not declared in this scope
prog.cpp: In function ‘void DestroyVBO()’:
prog.cpp:251: error: ‘GLenum’ was not declared in this scope
prog.cpp:251: error: expected `;' before ‘ErrorCheckValue’
prog.cpp:253: error: ‘glDisableVertexAttribArray’ was not declared in this scope
prog.cpp:256: error: ‘GL_ARRAY_BUFFER’ was not declared in this scope
prog.cpp:256: error: ‘glBindBuffer’ was not declared in this scope
prog.cpp:258: error: ‘ColorBufferId’ was not declared in this scope
prog.cpp:258: error: ‘glDeleteBuffers’ was not declared in this scope
prog.cpp:259: error: ‘VboId’ was not declared in this scope
prog.cpp:261: error: ‘glBindVertexArray’ was not declared in this scope
prog.cpp:262: error: ‘VaoId’ was not declared in this scope
prog.cpp:262: error: ‘glDeleteVertexArrays’ was not declared in this scope
prog.cpp:264: error: ‘ErrorCheckValue’ was not declared in this scope
prog.cpp:264: error: ‘glGetError’ was not declared in this scope
prog.cpp:265: error: ‘GL_NO_ERROR’ was not declared in this scope
prog.cpp:270: error: ‘gluErrorString’ was not declared in this scope
prog.cpp: In function ‘void CreateShaders()’:
prog.cpp:279: error: ‘GLenum’ was not declared in this scope
prog.cpp:279: error: expected `;' before ‘ErrorCheckValue’
prog.cpp:281: error: ‘VertexShaderId’ was not declared in this scope
prog.cpp:281: error: ‘GL_VERTEX_SHADER’ was not declared in this scope
prog.cpp:281: error: ‘glCreateShader’ was not declared in this scope
prog.cpp:282: error: ‘VertexShader’ was not declared in this scope
prog.cpp:282: error: ‘glShaderSource’ was not declared in this scope
prog.cpp:283: error: ‘glCompileShader’ was not declared in this scope
prog.cpp:285: error: ‘FragmentShaderId’ was not declared in this scope
prog.cpp:285: error: ‘GL_FRAGMENT_SHADER’ was not declared in this scope
prog.cpp:286: error: ‘FragmentShader’ was not declared in this scope
prog.cpp:289: error: ‘ProgramId’ was not declared in this scope
prog.cpp:289: error: ‘glCreateProgram’ was not declared in this scope
prog.cpp:290: error: ‘glAttachShader’ was not declared in this scope
prog.cpp:292: error: ‘glLinkProgram’ was not declared in this scope
prog.cpp:293: error: ‘glUseProgram’ was not declared in this scope
prog.cpp:295: error: ‘ErrorCheckValue’ was not declared in this scope
prog.cpp:295: error: ‘glGetError’ was not declared in this scope
prog.cpp:296: error: ‘GL_NO_ERROR’ was not declared in this scope
prog.cpp:301: error: ‘gluErrorString’ was not declared in this scope
prog.cpp: In function ‘void DestroyShaders()’:
prog.cpp:310: error: ‘GLenum’ was not declared in this scope
prog.cpp:310: error: expected `;' before ‘ErrorCheckValue’
prog.cpp:312: error: ‘glUseProgram’ was not declared in this scope
prog.cpp:314: error: ‘ProgramId’ was not declared in this scope
prog.cpp:314: error: ‘VertexShaderId’ was not declared in this scope
prog.cpp:314: error: ‘glDetachShader’ was not declared in this scope
prog.cpp:315: error: ‘FragmentShaderId’ was not declared in this scope
prog.cpp:317: error: ‘glDeleteShader’ was not declared in this scope
prog.cpp:320: error: ‘glDeleteProgram’ was not declared in this scope
prog.cpp:322: error: ‘ErrorCheckValue’ was not declared in this scope
prog.cpp:322: error: ‘glGetError’ was not declared in this scope
prog.cpp:323: error: ‘GL_NO_ERROR’ was not declared in this scope
prog.cpp:328: error: ‘gluErrorString’ was not declared in this scope