Skip to main content
GameDev.net gamedev.net
🔒 Locked

OpenGL.h error.

Started by Eru Il Jan 18, 2000 at 11:15 AM 0 replies 700+ views
Original Post
Eru Il
Eru Il
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!
May Eru Ilúvator and the Valar be with you!
SiCrane
SiCrane
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.