title: glActiveTexture ARB was not found
body: <p>hi everyone ive got quite an error here it seems like c++ is not finding glActiveTextureARB(GL_TEXTURE0_ARB);
  im  using codeblocks and i've got glext.h so whenever i right click glActiveTextureARB and find declaration it actually finds it... ive got a 64bits system and ive tried putting glext.h in the GL folder and also in my project and im getting the same error any ideas would help tyvm</p>
  
  <p>heres my code in case u need it.. it is in spanish btw but it doesnt matter cuz the error i think its not in the code</p>
  
  <pre><code>#include "objetos.h"
  #include "glext.h"
  #include &lt;cassert&gt;
  
  Objetos::Objetos()
  {
      m_OBJS = NULL;
  }
  
  Objetos::Objetos(OBJETO d,int txt)
  {
      m_OBJS = NULL;
      box = 0;
      triangle = 0;
      circle = 0;
      CTargaImage image;
  
      image.Load("TGAs/caja1.tga");
      glGenTextures(1, &amp;m_texturaCaja[0]);
      glBindTexture(GL_TEXTURE_2D, m_texturaCaja[0]);
      gluBuild2DMipmaps(GL_TEXTURE_2D, GL_RGB,
                     image.GetWidth(), image.GetHeight(),
                     GL_RGB, GL_UNSIGNED_BYTE, image.GetImage());
  
      image.Release();
  
  
      image.Load("TGAs/caja2.tga");
      glGenTextures(1, &amp;m_texturaCaja[1]);
      glBindTexture(GL_TEXTURE_2D, m_texturaCaja[1]);
      gluBuild2DMipmaps(GL_TEXTURE_2D, GL_RGB,
                     image.GetWidth(), image.GetHeight(),
                     GL_RGB, GL_UNSIGNED_BYTE, image.GetImage());
  
      image.Release();
  
  switch(d)
      {
          case TRIANGULO:
          //borrarlo antes de dibujarlo siempre;
          glActiveTextureARB(GL_TEXTURE0_ARB);
          glBindTexture(GL_TEXTURE_2D, m_texturaTriangulo[txt]);
          glEnable(GL_TEXTURE_2D);
          glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE_EXT);
          glTexEnvf (GL_TEXTURE_ENV, GL_COMBINE_RGB_EXT, GL_REPLACE);
          m_OBJS = glmReadOBJ("materiales/triangulo.obj");
          m_Posicion.x = 0.0f;
          glDisable(GL_TEXTURE_2D);
          break;
  
          case CIRCULO:
          glActiveTextureARB(GL_TEXTURE1_ARB);
          glBindTexture(GL_TEXTURE_2D, m_texturaEsfera[2]);
          glEnable(GL_TEXTURE_2D);
          glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE_EXT);
          glTexEnvf (GL_TEXTURE_ENV, GL_COMBINE_RGB_EXT, GL_REPLACE);
          m_OBJS = glmReadOBJ("materiales/circulo.obj");
          m_Posicion.x = -0.43f;
          glDisable(GL_TEXTURE_2D);
          break;
  
          case CAJA:
          glActiveTextureARB(GL_TEXTURE2_ARB);
          glBindTexture(GL_TEXTURE_2D, m_texturaCaja[1]);
          glEnable(GL_TEXTURE_2D);
          glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE_EXT);
          glTexEnvf (GL_TEXTURE_ENV, GL_COMBINE_RGB_EXT, GL_REPLACE);
          m_OBJS = glmReadOBJ("materiales/caja.obj");
          m_Posicion.x = 0.43f;
          glDisable(GL_TEXTURE_2D);
          break;
      }
  }
  </code></pre>