Since GLU is deprecated, there should be an option to skip GLU. For example, wrapping the glu.h include section with #ifndef NO_GLU / #endif
I agree that this is needed.
As a possibility, these are the modifications I made:
Grouped the defines needed for glu.h in one block and put in an ifndef (decided to use NO_GLU instead of USE_GLU to prevent backwards compatibility issues):
/ <winnt.h> /
/ <ctype.h> /
typedef unsigned short wchar_t;
This leaves the defines needed for gl.h:
/ <stddef.h> /
typedef __int64 ptrdiff_t;
typedef _W64 int ptrdiff_t;
Same with the glu.h include blocks:
/ <glu.h> /
/ this is where we can safely include GLU /
fprintf(file, "GLU version string: %s\n", gluGetString(GLU_VERSION));
fprintf(file, "GLU extensions (GLU_): \n");
If possible attach a .diff using svn diff. This seems to be turning into a broader issue than I really bargained for. :-)
Works for Linux, perhaps not for windows
Fixed in TOT - #define GLEW_NO_GLU to avoid the glu.h dependency
Thanks for the feature request.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).