View Full Version : OpenGL, Windows 2000 and Visual C++ 6.0
03-11-2003, 01:37 PM
OpenGL application compile with Visual C++ 6.0 when I am running under windows 2000 ?
The same application was compiled for Linux and Win98 but strangly not for windows 2000.
When I compile I get an error from gl.h file with the WINGDIAPI macro.
Can anyone help me ?
Thanks in advance
03-11-2003, 01:42 PM
The right question for the incomplete original question above is:
Why do I get an error when I compile my OpenGL App with Visual C++ 6.0 under windows 2000 ?
The compiler returns an error in the gl.h file:
error C2501: 'WINGDIAPI' : missing storage-class or type specifiers
How can I overcome this drawback ?
03-11-2003, 01:48 PM
Not positive on this because I havent coded gl in windows for a while, but make sure you are including windows.h before gl.h, because gl.h uses windows defined constants.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.