Jump to content

  • Log In with Google      Sign In   
  • Create Account

OpenGL.h error.


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 Eru Ilúvator   Members   -  Reputation: 122

Like
Likes
Like

Posted 18 January 2000 - 05:15 AM

I''ve downloaded some OpenGL examples in c, and when I compile these Visual C++ 6 gives a list of errors in OpenGL.h. But when I use it in a C++-file, it doesn''t give problems at all. Why? May Eru Ilúvator and the Valar be with you!

Sponsor:

#2 SiCrane   Moderators   -  Reputation: 9594

Like
Likes
Like

Posted 18 January 2000 - 07:55 AM

I don''t know which demos you downloaded, but OpenGL.h isn''t a standard GL header file. My guess is that OpenGL.h had some C++ specific code that the C compiler barfed on. The OpenGL header that ships with Visual C++ is Gl.h, which is usable from C.




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