Thread: Error of "GL_HISTOGRAM was not declared

  1. #1
    Registered User
    Join Date
    Apr 2010
    Location
    China
    Posts
    11

    Error of "GL_HISTOGRAM was not declared

    My program does include <gl.h> and <glext.h>, but it comes with an error of "GL_HISTOGRAM was not declared"? Is is correct? Or some other headers should include to avoid this issue? Tks.

  2. #2
    Registered User
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    375

  3. #3
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Are you also getting
    Code:
    gl.h: No such file or directory
    glext.h: No such file or directory
    What about if you use <gl/gl.h> and <gl/glext.h>?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. variables when declared inside or outside a function
    By jas_atwal in forum C Programming
    Replies: 6
    Last Post: 12-14-2007, 02:42 PM
  3. <Gulp>
    By kryptkat in forum Windows Programming
    Replies: 7
    Last Post: 01-14-2006, 01:03 PM
  4. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  5. Nested loop frustration
    By caroundw5h in forum C Programming
    Replies: 14
    Last Post: 03-15-2004, 09:45 PM