DaKilla
08-11-2001, 11:00 PM
Hey,
I'm programming in borland C++ 4.52 $ vc++6.0. Both give me the same error for gl.h
Error ..\..\..\..\BC45\INCLUDE\GL\GL.H 832: Declaration syntax error
Error ..\..\..\..\BC45\INCLUDE\GL\GL.H 833: Variable 'WINGDIAPI' is initialized more than once
Which is repeated for every part of it. This error happens for bot programs. The #includes that im using are:
#include <windows.h>
#include <GL/glut.h>
#include <stdio.h>
#include <stdlib.h>
I'm fairly new to opengl programing. Any help would be great!!
I'm programming in borland C++ 4.52 $ vc++6.0. Both give me the same error for gl.h
Error ..\..\..\..\BC45\INCLUDE\GL\GL.H 832: Declaration syntax error
Error ..\..\..\..\BC45\INCLUDE\GL\GL.H 833: Variable 'WINGDIAPI' is initialized more than once
Which is repeated for every part of it. This error happens for bot programs. The #includes that im using are:
#include <windows.h>
#include <GL/glut.h>
#include <stdio.h>
#include <stdlib.h>
I'm fairly new to opengl programing. Any help would be great!!