Hi,
Not sure if you consider this a problem (yet) or not but a number of glu* functions are deprecated in OS X 10.9. The game builds and loads ok so if anything this is a low priority issue.
A sample is included below; other then those mentioned gluBuild1DMipmaps, gluBuild2DMipmaps, gluUnProject, GLUquadricObj, gluNewQuadric and various others are also reported. gluErrorString is reported more then all others.
[ 34%] Building CXX object source/shared_lib/CMakeFiles/libmegaglest.dir/sources/graphics/model.cpp.o
In file included from /Users/kgoetz/git/megaglest-source/source/shared_lib/sources/graphics/model.cpp:22:
/Users/kgoetz/git/megaglest-source/source/shared_lib/include/graphics/gl/opengl.h:63:59: warning: 'gluErrorString' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
const char *errorString= reinterpret_cast<const char*>(gluErrorString(error));
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:260:24: note: 'gluErrorString' has been explicitly marked deprecated here
extern const GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10_0, 10_9);
^
1 warning generated.
[ 35%] Building CXX object source/shared_lib/CMakeFiles/libmegaglest.dir/sources/graphics/model_manager.cpp.o
[ 35%] Building CXX object source/shared_lib/CMakeFiles/libmegaglest.dir/sources/graphics/particle.cpp.o
[ 35%] Building CXX object source/shared_lib/CMakeFiles/libmegaglest.dir/sources/graphics/pixmap.cpp.o
In file included from /Users/kgoetz/git/megaglest-source/source/shared_lib/sources/graphics/pixmap.cpp:28:
/Users/kgoetz/git/megaglest-source/source/shared_lib/include/graphics/gl/opengl.h:63:59: warning: 'gluErrorString' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
const char *errorString= reinterpret_cast<const char*>(gluErrorString(error));
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:260:24: note: 'gluErrorString' has been explicitly marked deprecated here
extern const GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10_0, 10_9);
^
/Users/kgoetz/git/megaglest-source/source/shared_lib/sources/graphics/pixmap.cpp:979:17: warning: 'gluScaleImage' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
GLenum glErr = gluScaleImage( format,
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:287:14: note: 'gluScaleImage' has been explicitly marked deprecated here
extern GLint gluScaleImage (GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid* dataOut) OPENGL_DEPRECATED(10_0, 10_9);
^
/Users/kgoetz/git/megaglest-source/source/shared_lib/sources/graphics/pixmap.cpp:991:58: warning: 'gluErrorString' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
const char *errorString= reinterpret_cast<const char*>(gluErrorString(glErr));
^
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:260:24: note: 'gluErrorString' has been explicitly marked deprecated here
extern const GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10_0, 10_9);
^
3 warnings generated.
[ 36%] Building CXX object source/shared_lib/CMakeFiles/libmegaglest.dir/sources/graphics/PNGReader.cpp.o
Hi, Not sure if you consider this a problem (yet) or not but a number of glu* functions are deprecated in OS X 10.9. The game builds and loads ok so if anything this is a low priority issue.
A sample is included below; other then those mentioned gluBuild1DMipmaps, gluBuild2DMipmaps, gluUnProject, GLUquadricObj, gluNewQuadric and various others are also reported. gluErrorString is reported more then all others.