Results 1 to 2 of 2

Thread: glTextImage3d undeclared?

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2001
    Location
    Lisbon
    Posts
    13

    glTextImage3d undeclared?

    Hi, i was getting errors on gl.h and someone told me to include windows.h before gl.h and the problem was solved, but now i get:

    c:\c-cpp\opengl\xeya\loadtext.h(43) : error C2065: 'GL_TEXTURE_3D' : undeclared identifier
    c:\c-cpp\opengl\xeya\loadtext.h(5 : error C2065: 'glTexImage3D' : undeclared identifier
    c:\c-cpp\opengl\xeya\loadtext.h(85) : error C2065: 'GL_TEXTURE_WRAP_R' : undeclared identifier


    hows this possible? =\

  2. #2
    Senior Member Regular Contributor
    Join Date
    Oct 2001
    Location
    Princeton, NJ
    Posts
    380

    Re: glTextImage3d undeclared?

    windows libs/headers are currently at version 1.1, those functions are version 1.2 (or higher) therefore they are not defined. Use glext + load them as extensions

Similar Threads

  1. 'gl_Position' : undeclared identifier
    By Creepy in forum OpenGL: GLSL
    Replies: 2
    Last Post: 12-25-2018, 02:03 AM
  2. Use of undeclared identifier 'glGetUniformBlockIndex'
    By werner291 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-20-2014, 10:21 AM
  3. why gl.h has comented undeclared symbols
    By billy_the_kid in forum OpenGL: Windows
    Replies: 5
    Last Post: 01-30-2011, 08:32 AM
  4. undeclared identifers
    By endo in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 05-17-2002, 03:43 AM
  5. Undeclared Identifier..please help
    By shehz in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-16-2001, 10:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean