Glut Fatal Error!?

Big_McLarge_Hug
Unregistered
 
Post: #1
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?
Quote this message in a reply
Moderator
Posts: 608
Joined: 2002.04
Post: #2
There are a lot of known problems with GLUT under Mac OS X. SDL and Allegro are the comparable alternatives.
Quote this message in a reply
Big_McLarge_Hug
Unregistered
 
Post: #3
So I think I figured out my own problem, but now I have another error:

ZeroLink: unknown symbol '_glutInitDisplayMode'
Quote this message in a reply
Sage
Posts: 1,234
Joined: 2002.10
Post: #4
Don't forget to actually link against GLUT.
Quote this message in a reply
Big_McLarge_Hug
Unregistered
 
Post: #5
Did that now back to the original problem. Mad
Quote this message in a reply
Member
Posts: 68
Joined: 2005.09
Post: #6
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.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  GLUT 3.7.6 Error DevTrigger 2 2,334 Nov 20, 2003 06:23 PM
Last Post: DevTrigger