title: GLuint not being recognised
body: <p>I am creating a 3D application in OpenGL, and in order to display textures on the models that I'm reading in, I'm using GLuint. However, I am getting the visual studio error C4430 missing type, and a handful of others related to the issue. </p>
  
  <p>The glut files are included and were working fine before this was put in. Is it that GLuint is outdated, or something else?</p>
  
  <p>Edit:
  The code that has changed is:</p>
  
  <p>Object constructor before</p>
  
  <pre><code>Object::Object(string shapeFileName, string texFileName){
      readFile(shapeFileName);
      loadTexture(texFileName);
  }
  </code></pre>
  
  <p>Object constructor afterwards</p>
  
  <pre><code>Object::Object(string shapeFileName, string texFileName){
      readFile(shapeFileName);
  
      glGenTextures(1, &amp;texture);
      glBindTexture(GL_TEXTURE_2D, texture);
      glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
  
      glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
      glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
  
      glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
      glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
  
      loadTexture(texFileName);
      gluBuild2DMipmaps(GL_TEXTURE_2D, 3, 1024, 512, GL_RGB, GL_UNSIGNED_BYTE, image_array);
  
      free(image_array);
  
      glTexImage2D(GL_TEXTURE_2D, 0, 3, 1024, 512, 0, GL_RGB, GL_UNSIGNED_BYTE, image_array);
  }
  </code></pre>
  
  <p>Along with the line <code>GLuint texture;</code> added in the header file, which is the only bit that is throwing an error.</p>