Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save karenetheridge/c83944a7f18ef8b6a3bd9ade4ae9c194 to your computer and use it in GitHub Desktop.
Save karenetheridge/c83944a7f18ef8b6a3bd9ade4ae9c194 to your computer and use it in GitHub Desktop.
: [ether@jaeger 1466462308.21587/OpenGL-0.6704_06]$; perl Makefile.PL
glversion.c:36:3: warning: 'glutInit' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
glutInit(&argc, argv);
^
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:431:22: note: 'glutInit' has been explicitly marked deprecated here
extern void APIENTRY glutInit(int *argcp, char **argv) OPENGL_DEPRECATED(10_0, 10_9);
^
glversion.c:37:3: warning: 'glutInitWindowSize' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
glutInitWindowSize(1,1);
^
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:437:22: note: 'glutInitWindowSize' has been explicitly marked deprecated here
extern void APIENTRY glutInitWindowSize(int width, int height) OPENGL_DEPRECATED(10_0, 10_9);
^
glversion.c:38:3: warning: 'glutInitDisplayMode' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
glutInitDisplayMode(GLUT_RGBA);
^
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:432:22: note: 'glutInitDisplayMode' has been explicitly marked deprecated here
extern void APIENTRY glutInitDisplayMode(unsigned int mode) OPENGL_DEPRECATED(10_0, 10_9);
^
glversion.c:39:14: warning: 'glutCreateWindow' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
idWindow = glutCreateWindow(PROGRAM);
^
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:441:21: note: 'glutCreateWindow' has been explicitly marked deprecated here
extern int APIENTRY glutCreateWindow(const char *title) OPENGL_DEPRECATED(10_0, 10_9);
^
glversion.c:40:3: warning: 'glutHideWindow' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
glutHideWindow();
^
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:459:22: note: 'glutHideWindow' has been explicitly marked deprecated here
extern void APIENTRY glutHideWindow(void) OPENGL_DEPRECATED(10_0, 10_9);
^
glversion.c:47:17: warning: 'glutGet' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
glutVersion = glutGet(0x01FC);
^
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:545:21: note: 'glutGet' has been explicitly marked deprecated here
extern int APIENTRY glutGet(GLenum type) OPENGL_DEPRECATED(10_0, 10_9);
^
glversion.c:52:3: warning: 'glutDestroyWindow' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
glutDestroyWindow(idWindow);
^
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:443:22: note: 'glutDestroyWindow' has been explicitly marked deprecated here
extern void APIENTRY glutDestroyWindow(int win) OPENGL_DEPRECATED(10_0, 10_9);
^
7 warnings generated.
Jun 20 15:44:09 jaeger glversion[22353] <Error>: Set a breakpoint at CGSLogError to catch errors as they are logged.
Jun 20 15:44:09 jaeger glversion[22353] <Error>: This user is not allowed access to the window system right now.
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
Jun 20 15:44:09 jaeger glversion[22353] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jun 20 15:44:09 jaeger glversion[22353] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jun 20 15:44:09 jaeger glversion[22353] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jun 20 15:44:09 jaeger glversion[22353] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jun 20 15:44:09 jaeger glversion[22353] <Warning>: CGSConnectionByID: 0 is not a valid connection ID.
Jun 20 15:44:09 jaeger glversion[22353] <Warning>: Invalid Connection ID 0
2016-06-20 15:44:09.753 glversion[22353:31255069] GLUT Fatal Error: internal error: NSRangeException, reason: *** -[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array
make: *** [glversion.txt] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment