PDA

View Full Version : Glut Fatal Error!?


Big_McLarge_Hug
2004.07.28, 04:45 PM
I'm using MacOS X 10.3.4... I write a OpenGL program using glut and it compiles just fine. At run time I get this nice little error that looks like this:

2004-07-28 14:44:56.886 TestOfGlut[521] GLUT Fatal Error: internal error: NSInternalInconsistencyException, reason: Error (1002) creating CGSWindow

Whats going on?

Josh
2004.07.28, 06:00 PM
There are a lot of known problems with GLUT under Mac OS X. SDL and Allegro are the comparable alternatives.

Big_McLarge_Hug
2004.07.28, 06:09 PM
So I think I figured out my own problem, but now I have another error:

ZeroLink: unknown symbol '_glutInitDisplayMode'

arekkusu
2004.07.28, 06:21 PM
Don't forget to actually link against GLUT.

Big_McLarge_Hug
2004.07.28, 06:48 PM
Did that now back to the original problem. :mad:

dfmoore
2005.11.09, 04:56 AM
Hopefully its not too late, but i had the same issue and then i fixed it so i'll pass it on your way. I was messing around with my main function, where I initialize openGL, got this error, and realized that somehow I took out:
glutInit(&argc, argv);
Yeah, that needs to be there. Seriously. or else you get this error you've posted and lots of other problems, like no glut window.
Hope that helps, even if its a year+ later.