PDA

View Full Version : Compiling OpenGL under Win2000



marchezi
01-21-2004, 02:00 PM
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 ?

kehziah
01-25-2004, 12:26 PM
#include <windows.h> before gl.h