Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Errors: Help Me


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 SteelBlue   Members   -  Reputation: 122

Like
Likes
Like

Posted 22 August 2001 - 11:14 AM

These are the errors i get C:\My Documents\C++ Programming\OpenGL\FirstOpenGL\FirstOpenGL.cpp(43) : error C2065: ''glClearDept'' : undeclared identifier C:\My Documents\C++ Programming\OpenGL\FirstOpenGL\FirstOpenGL.cpp(45) : error C2065: ''glDeptFunc'' : undeclared identifier C:\My Documents\C++ Programming\OpenGL\FirstOpenGL\FirstOpenGL.cpp(55) : error C2065: ''GL_DEPT_BUFFER_BIT'' : undeclared identifier Error executing cl.exe. i have these include statements #include #include #include #include Other gl calls such as the ones below works fine. glViewport( 0, 0, width, height ); glMatrixMode( GL_PROJECTION ); glLoadIdentity(); Tha Funkalicious one

Sponsor:

#2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 22 August 2001 - 01:07 PM

Those function names are:

glClearDepth()
glDepthFunc()

and the constant is:

GL_DEPTH_BUFFER_BIT

check your spelling before posting your errors here Your ''h'' is broken?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS