Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

OpenGL.h error.

4: Adsense

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   

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!

#2 SiCrane   Moderators   

11761
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.