foniks
03-08-2003, 10:10 PM
Hi All,
I am having some problems compiling OpengGL programs with MSVC 7.
I have installed the components in the appropriate directories - however the compiler fails to compile with these following errors (and it repeats for every function definition in GL.h).
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\gl\GL.h(1152): error C2144: syntax error : 'void' should be preceded by ';'
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\gl\GL.h(1152): error C2501: 'WINGDIAPI' : missing storage-class or type specifiers
I have checked and double checked my settings and cannot work out what the problem is. Anyone got any ideas?
I am having some problems compiling OpengGL programs with MSVC 7.
I have installed the components in the appropriate directories - however the compiler fails to compile with these following errors (and it repeats for every function definition in GL.h).
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\gl\GL.h(1152): error C2144: syntax error : 'void' should be preceded by ';'
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\gl\GL.h(1152): error C2501: 'WINGDIAPI' : missing storage-class or type specifiers
I have checked and double checked my settings and cannot work out what the problem is. Anyone got any ideas?