Compiling OpenGL under Win2000

Hi OpenGL Community,

My project was working fine in Win98 but then I decided to move to
Win2000 and I am getting the following error from VC++ 6 compiler:

C:\Arquivos de programas\Microsoft Visual Studio\VC98\INCLUDE\GL/gl.h(1152) : error C2144: syntax error : missing ‘;’ before type ‘void’
C:\Arquivos de programas\Microsoft Visual Studio\VC98\INCLUDE\GL/gl.h(1152) : error C2501: ‘WINGDIAPI’ : missing storage-class or type specifiers
C:\Arquivos de programas\Microsoft Visual Studio\VC98\INCLUDE\GL/gl.h(1152) : fatal error C1004: unexpected end of file found

Can anyone tell me what to do te get rid of this problem ?

#include <windows.h> before gl.h

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.