Results 1 to 4 of 4

Thread: GLTVector3: undeclared identifier.

  1. #1
    Member Contributor
    Join Date
    Apr 2007

    GLTVector3: undeclared identifier.


    i have inserted this type in my code:


    but compiler shows the error "undeclared identifier".

    I have included glut.h, glu.h, gl.h and glaux.h.

    Original code includes OpenGLSB.h and GLTools.h but i didnt find them in my pc. What are these .h files?

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001

    Re: GLTVector3: undeclared identifier.

    If you use third-party code you must be aware that it may use third-party libraries (that are of course missing on your pc). :-/ I have no idea what this *.h files are, but the author of the original code will probably know it.

  3. #3
    Member Contributor
    Join Date
    Feb 2004
    Dallas/ Nottingham

    Re: GLTVector3: undeclared identifier.

    Ask the the folks who wrote the original code.

  4. #4
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000

    Re: GLTVector3: undeclared identifier.

    Took less than a minute to find this on the internet.
    It seems to be a part of the OpenGL SuperBible:
    Download the GLTools.h and OpenGLSB.h (u-hu, "OpenGLSuperBible.h") are inside there.
    Come back if you have a real OpenGL question.

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. gl_FragDepth: undeclared identifier
    By eldritch in forum OpenGL: macOS
    Replies: 2
    Last Post: 04-04-2010, 01:34 PM
  4. Undeclared Identifier..please help
    By shehz in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-16-2001, 10:36 PM
  5. undeclared identifier errors
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 12-04-2000, 12:24 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