Hello! I have problems including glext.h with MSVC++ 6.0. I get those compilation errors:
vc98\include\winbase.h(1116) : error C2556: ‘unsigned long __stdcall GetVersion(void)’ : overloaded function differs only by return type from ‘char *__cdecl GetVersion(void)’
vc98\include\winbase.h(1116) : error C2373: ‘GetVersion’ : redefinition; different type modifiers
I use the latest version of glext.h I got from SGI. I use GLUT too. I have that problem with a file as simple as that:
#ifndef _MYFILEHEADER_H
#define _MYFILEHEADER_H
#include <glut.h>
#include <gl/glext.h>
#endif
Basically, it seems to be a conflict between glext.h and winbase.h. I have an old version of MSVC++ (one of the first version I think, 1998) so maybe my winbase.h file is kinda outdated.
Anyone can help?