Categories
Mastering Development

OpenGl compilation errors [duplicate]

I have this OpenGl code: #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <GL/glew.h> #include <GL/glut.h> // Usage of degrees is deprecated. Use radians for glm functions. #define GLM_FORCE_RADIANS #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include “shaders.h” int mouseoldx, mouseoldy ; // For mouse motion GLfloat eyeloc = 2.0 ; // Where to look from; initially 0 -2, […]