prog.cpp:5:18: error: glew.h: No such file or directory
prog.cpp:6:21: error: SDL/SDL.H: No such file or directory
prog.cpp:7:28: error: SDL/SDL_IMAGE.H: No such file or directory
prog.cpp:8:28: error: SDL/SDL_OPENGL.H: No such file or directory
prog.cpp:15:55: error: libs/iostreams/example/container_device.hpp: No such file or directory
prog.cpp:21:20: error: GL/glu.h: No such file or directory
prog.cpp:22:24: error: glm/glm.hpp: No such file or directory
prog.cpp:23:33: error: glm/gtc/type_ptr.hpp: No such file or directory
prog.cpp:24:41: error: glm/gtc/matrix_transform.hpp: No such file or directory
prog.cpp:78:28: error: SurfaceStorage.h: No such file or directory
prog.cpp:79:35: error: IndexAssignerFunction.h: No such file or directory
prog.cpp:29: error: ‘example’ is not a namespace-name
prog.cpp:29: error: expected namespace-name before ‘;’ token
prog.cpp:33: error: ‘ex’ has not been declared
prog.cpp:33: error: expected initializer before ‘<’ token
prog.cpp:46: error: ‘GLuint’ does not name a type
prog.cpp: In function ‘int printOglError(char*, int)’:
prog.cpp:60: error: ‘GLenum’ was not declared in this scope
prog.cpp:60: error: expected `;' before ‘glErr’
prog.cpp:63: error: ‘glErr’ was not declared in this scope
prog.cpp:63: error: ‘glGetError’ was not declared in this scope
prog.cpp:64: error: ‘GL_NO_ERROR’ was not declared in this scope
prog.cpp:67: error: ‘gluErrorString’ was not declared in this scope
prog.cpp: At global scope:
prog.cpp:95: error: ‘GLuint’ does not name a type
prog.cpp:97: error: ‘GLuint’ does not name a type
prog.cpp:99: error: ‘GLuint’ does not name a type
prog.cpp:100: error: ‘GLuint’ does not name a type
prog.cpp:101: error: ‘GLuint’ does not name a type
prog.cpp:102: error: ‘GLuint’ does not name a type
prog.cpp:103: error: ‘GLuint’ does not name a type
prog.cpp:112: error: ‘SDL_Event’ does not name a type
prog.cpp:124: error: ‘GLfloat’ does not name a type
prog.cpp:136: error: ‘GLfloat’ does not name a type
prog.cpp:156: error: ‘GLuint’ does not name a type
prog.cpp:157: error: ‘GLuint’ does not name a type
prog.cpp:158: error: ‘GLfloat’ does not name a type
prog.cpp:175: error: ‘glm’ has not been declared
prog.cpp:175: error: expected constructor, destructor, or type conversion before ‘ortho’
prog.cpp:180: error: expected ‘,’ or ‘...’ before ‘*’ token
prog.cpp:180: error: ISO C++ forbids declaration of ‘GLfloat’ with no type
prog.cpp:184: error: ‘GLuint’ does not name a type
prog.cpp: In function ‘void setup_vbos()’:
prog.cpp:207: error: ‘GLfloat’ does not name a type
prog.cpp:217: error: ‘GLfloat’ does not name a type
prog.cpp:229: error: ‘GLfloat’ does not name a type
prog.cpp:240: error: ‘GLfloat’ does not name a type
prog.cpp:253: error: ‘vao’ was not declared in this scope
prog.cpp:253: error: ‘glGenVertexArrays’ was not declared in this scope
prog.cpp:255: error: ‘GUIVertices’ was not declared in this scope
prog.cpp:256: error: ‘MainToolBoxVertices’ was not declared in this scope
prog.cpp:257: error: ‘MenuContextVertices’ was not declared in this scope
prog.cpp:258: error: ‘BoxStorageVertices’ was not declared in this scope
prog.cpp:259: error: ‘ObjGraphicVertices’ was not declared in this scope
prog.cpp: At global scope:
prog.cpp:266: error: ‘GLuint’ does not name a type
prog.cpp:363: error: expected ‘,’ or ‘...’ before ‘*’ token
prog.cpp:363: error: ISO C++ forbids declaration of ‘GLfloat’ with no type
prog.cpp: In function ‘void create_rectangle(const char*, rectangle*, int)’:
prog.cpp:366: error: ‘struct rectangle’ has no member named ‘vbo’
prog.cpp:366: error: ‘glGenBuffers’ was not declared in this scope
prog.cpp:367: error: ‘GL_ARRAY_BUFFER’ was not declared in this scope
prog.cpp:367: error: ‘struct rectangle’ has no member named ‘vbo’
prog.cpp:367: error: ‘glBindBuffer’ was not declared in this scope
prog.cpp:368: error: ‘byte_count’ was not declared in this scope
prog.cpp:368: error: ‘vertices’ was not declared in this scope
prog.cpp:368: error: ‘GL_DYNAMIC_DRAW’ was not declared in this scope
prog.cpp:368: error: ‘glBufferData’ was not declared in this scope
prog.cpp:369: error: ‘struct rectangle’ has no member named ‘textureID’
prog.cpp: In function ‘void draw_rectangle(rectangle*, const float*)’:
prog.cpp:381: error: ‘GL_ARRAY_BUFFER’ was not declared in this scope
prog.cpp:381: error: ‘struct rectangle’ has no member named ‘vbo’
prog.cpp:381: error: ‘glBindBuffer’ was not declared in this scope
prog.cpp:384: error: ‘GL_TEXTURE_2D’ was not declared in this scope
prog.cpp:384: error: ‘struct rectangle’ has no member named ‘textureID’
prog.cpp:384: error: ‘glBindTexture’ was not declared in this scope
prog.cpp:387: error: ‘GL_FLOAT’ was not declared in this scope
prog.cpp:387: error: ‘GL_FALSE’ was not declared in this scope
prog.cpp:387: error: ISO C++ forbids declaration of ‘type name’ with no type
prog.cpp:387: error: expected `>' before ‘GLvoid’
prog.cpp:387: error: expected `(' before ‘GLvoid’
prog.cpp:387: error: ‘GLvoid’ was not declared in this scope
prog.cpp:387: error: expected primary-expression before ‘>’ token
prog.cpp:390: error: ISO C++ forbids declaration of ‘type name’ with no type
prog.cpp:390: error: expected `>' before ‘GLvoid’
prog.cpp:390: error: expected `(' before ‘GLvoid’
prog.cpp:390: error: expected primary-expression before ‘>’ token
prog.cpp:393: error: ‘glEnableVertexAttribArray’ was not declared in this scope
prog.cpp:399: error: ‘matrixuniform’ was not declared in this scope
prog.cpp:399: error: ‘TRUE’ was not declared in this scope
prog.cpp:399: error: ‘struct rectangle’ has no member named ‘matrix’
prog.cpp:399: error: ‘glUniformMatrix4fv’ was not declared in this scope
prog.cpp:401: error: ‘glm’ has not been declared
prog.cpp:401: error: ‘ortho’ was not declared in this scope
prog.cpp:403: error: ‘translation’ was not declared in this scope
prog.cpp:405: error: ‘GL_QUADS’ was not declared in this scope
prog.cpp:405: error: ‘glDrawArrays’ was not declared in this scope
prog.cpp: In function ‘void setup_sdl_glew()’:
prog.cpp:421: error: ‘SDL_INIT_EVERYTHING’ was not declared in this scope
prog.cpp:421: error: ‘SDL_Init’ was not declared in this scope
prog.cpp:424: error: ‘SDL_putenv’ was not declared in this scope
prog.cpp:427: error: ‘Screen’ was not declared in this scope
prog.cpp:427: error: ‘SDL_OPENGL’ was not declared in this scope
prog.cpp:427: error: ‘SDL_DOUBLEBUF’ was not declared in this scope
prog.cpp:427: error: ‘SDL_SetVideoMode’ was not declared in this scope
prog.cpp:429: error: ‘ortho’ was not declared in this scope
prog.cpp:429: error: ‘glm’ has not been declared
prog.cpp:436: error: ‘GLenum’ was not declared in this scope
prog.cpp:436: error: expected `;' before ‘err’
prog.cpp:437: error: ‘glGetError’ was not declared in this scope
prog.cpp:440: error: ‘GLEW_OK’ was not declared in this scope
prog.cpp:440: error: ‘err’ was not declared in this scope
prog.cpp:443: error: ‘glewGetErrorString’ was not declared in this scope
prog.cpp:446: error: ‘GLEW_VERSION’ was not declared in this scope
prog.cpp:446: error: ‘glewGetString’ was not declared in this scope
prog.cpp: In function ‘int load_texture(const char*)’:
prog.cpp:468: error: ‘GLuint’ was not declared in this scope
prog.cpp:468: error: expected `;' before ‘textureID’
prog.cpp:470: error: ‘SDL_Surface’ was not declared in this scope
prog.cpp:470: error: ‘surface’ was not declared in this scope
prog.cpp:470: error: ‘IMG_Load’ was not declared in this scope
prog.cpp:473: error: ‘textureID’ was not declared in this scope
prog.cpp:473: error: ‘glGenTextures’ was not declared in this scope
prog.cpp:476: error: ‘GL_TEXTURE_2D’ was not declared in this scope
prog.cpp:476: error: ‘glBindTexture’ was not declared in this scope
prog.cpp:479: error: ‘GL_RGBA’ was not declared in this scope
prog.cpp:479: error: ‘GL_BGR’ was not declared in this scope
prog.cpp:479: error: ‘GL_UNSIGNED_BYTE’ was not declared in this scope
prog.cpp:479: error: ‘glTexImage2D’ was not declared in this scope
prog.cpp:481: error: ‘GL_TEXTURE_MIN_FILTER’ was not declared in this scope
prog.cpp:481: error: ‘GL_NEAREST’ was not declared in this scope
prog.cpp:481: error: ‘glTexParameteri’ was not declared in this scope
prog.cpp:482: error: ‘GL_TEXTURE_MAG_FILTER’ was not declared in this scope
prog.cpp:484: error: ‘SDL_FreeSurface’ was not declared in this scope
prog.cpp: In function ‘void draw()’:
prog.cpp:492: error: ‘TranslationMatrix’ was not declared in this scope
prog.cpp: In function ‘int main(int, char**)’:
prog.cpp:521: error: ‘objsurface’ was not declared in this scope
prog.cpp:521: error: ‘IMG_Load’ was not declared in this scope
prog.cpp:522: error: ‘ModelSurface’ was not declared in this scope
prog.cpp:525: error: ‘Uint8’ was not declared in this scope
prog.cpp:525: error: ‘keystate’ was not declared in this scope
prog.cpp:525: error: ‘SDL_GetKeyState’ was not declared in this scope
prog.cpp:527: error: ‘SDL_DEFAULT_REPEAT_INTERVAL’ was not declared in this scope
prog.cpp:527: error: ‘SDL_EnableKeyRepeat’ was not declared in this scope
prog.cpp:537: error: ‘glClearColor’ was not declared in this scope
prog.cpp:540: error: ‘glViewport’ was not declared in this scope
prog.cpp:549: error: ‘LoadProgram’ was not declared in this scope
prog.cpp:559: error: ‘SDL_GetMouseState’ was not declared in this scope
prog.cpp:563: error: ‘GL_COLOR_BUFFER_BIT’ was not declared in this scope
prog.cpp:563: error: ‘glClear’ was not declared in this scope
prog.cpp:573: error: ‘TranslationMatrix’ was not declared in this scope
prog.cpp:616: warning: comparison between signed and unsigned integer expressions
prog.cpp:632: error: ‘GLfloat’ was not declared in this scope
prog.cpp:632: error: expected `;' before ‘TranslationMatrix’
prog.cpp:640: error: ‘translation’ was not declared in this scope
prog.cpp:640: error: ‘TRUE’ was not declared in this scope
prog.cpp:640: error: ‘glUniformMatrix4fv’ was not declared in this scope
prog.cpp:652: error: ‘event’ was not declared in this scope
prog.cpp:652: error: ‘SDL_MOUSEBUTTONDOWN’ was not declared in this scope
prog.cpp:652: error: ‘SDL_BUTTON_LEFT’ was not declared in this scope
prog.cpp:652: error: ‘SDL_BUTTON’ was not declared in this scope
prog.cpp:655: error: ‘IndexAssigner’ was not declared in this scope
prog.cpp:613: warning: unused variable ‘quad_width’
prog.cpp:613: warning: unused variable ‘quad_height’
prog.cpp:729: error: ‘vertexbuffer’ was not declared in this scope
prog.cpp:729: error: ‘glGenBuffers’ was not declared in this scope
prog.cpp:731: error: ‘ModelTexture’ was not declared in this scope
prog.cpp:731: error: ‘glGenTextures’ was not declared in this scope
prog.cpp:733: error: ‘GL_ARRAY_BUFFER’ was not declared in this scope
prog.cpp:733: error: ‘glBindBuffer’ was not declared in this scope
prog.cpp:735: error: ‘GL_TEXTURE_3D’ was not declared in this scope
prog.cpp:735: error: ‘glBindTexture’ was not declared in this scope
prog.cpp:737: error: ‘GL_TEXTURE_2D’ was not declared in this scope
prog.cpp:737: error: ‘GL_RGBA’ was not declared in this scope
prog.cpp:737: error: ‘GL_BGR’ was not declared in this scope
prog.cpp:737: error: ‘GL_UNSIGNED_BYTE’ was not declared in this scope
prog.cpp:737: error: ‘glTexImage2D’ was not declared in this scope
prog.cpp:739: error: ‘GL_TEXTURE_MIN_FILTER’ was not declared in this scope
prog.cpp:739: error: ‘GL_NEAREST’ was not declared in this scope
prog.cpp:739: error: ‘glTexParameteri’ was not declared in this scope
prog.cpp:740: error: ‘GL_TEXTURE_MAG_FILTER’ was not declared in this scope
prog.cpp:742: error: ‘GL_STATIC_DRAW’ was not declared in this scope
prog.cpp:742: error: ‘glBufferData’ was not declared in this scope
prog.cpp:744: error: ‘GL_FLOAT’ was not declared in this scope
prog.cpp:744: error: ‘GL_FALSE’ was not declared in this scope
prog.cpp:744: error: ‘glVertexAttribPointer’ was not declared in this scope
prog.cpp:746: error: ‘glEnableVertexAttribArray’ was not declared in this scope
prog.cpp:749: error: ‘GLfloat’ was not declared in this scope
prog.cpp:749: error: expected `;' before ‘TranslationMatrix’
prog.cpp:757: error: ‘translation’ was not declared in this scope
prog.cpp:757: error: ‘TRUE’ was not declared in this scope
prog.cpp:757: error: ‘TranslationMatrix’ was not declared in this scope
prog.cpp:757: error: ‘glUniformMatrix4fv’ was not declared in this scope
prog.cpp:762: error: ‘GL_QUADS’ was not declared in this scope
prog.cpp:762: error: ‘GL_UNSIGNED_INT’ was not declared in this scope
prog.cpp:762: error: ‘glDrawElements’ was not declared in this scope
prog.cpp:770: error: ‘SDLK_SPACE’ was not declared in this scope
prog.cpp:778: error: ‘SDLK_b’ was not declared in this scope
prog.cpp:797: error: ‘event’ was not declared in this scope
prog.cpp:797: error: ‘SDL_PollEvent’ was not declared in this scope
prog.cpp:803: error: ‘SDL_QUIT’ was not declared in this scope
prog.cpp:813: error: ‘SDL_MOUSEBUTTONDOWN’ was not declared in this scope
prog.cpp:815: warning: left-hand operand of comma has no effect
prog.cpp:828: error: ‘SDL_GL_SwapBuffers’ was not declared in this scope