Glut Fatal Error!?
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?
2004-07-28 14:44:56.886 TestOfGlut[521] GLUT Fatal Error: internal error: NSInternalInconsistencyException, reason: Error (1002) creating CGSWindow
Whats going on?
There are a lot of known problems with GLUT under Mac OS X. SDL and Allegro are the comparable alternatives.
So I think I figured out my own problem, but now I have another error:
ZeroLink: unknown symbol '_glutInitDisplayMode'
ZeroLink: unknown symbol '_glutInitDisplayMode'
Don't forget to actually link against GLUT.
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.
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.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| GLUT 3.7.6 Error | DevTrigger | 2 | 2,158 |
Nov 20, 2003 06:23 PM Last Post: DevTrigger |
|

