Page 1 of 1

Making CEGUI OpenGLGUIRenderer compiled in mingw.

Posted: Fri Jun 10, 2005 09:56
by ocelot
In file openglrenderer.h find and comment:

Code: Select all

#  ifndef APIENTRY
#  define GLUT_APIENTRY_DEFINED
#   if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__) || defined(__LCC__) 
#    define APIENTRY    __stdcall 
#   else 
#    define APIENTRY 
#   endif 
#  endif  */ 


You alsow must comment line
typedef unsigned short wchar_t;