GLUT and nib files, creates more than one app on 10.2
GLUT and nib files, creates more than one app on 10.2
- Subject: GLUT and nib files, creates more than one app on 10.2
- From: Daniel Aarno <email@hidden>
- Date: Thu, 22 Jan 2004 23:54:05 +0100
Hi all!
I'm working on a project that uses GLUT and some Cocoa classes. What
happens is that after I enter the glutMainLoop() I want to load a nib
file. I do this using:
[NSBundle loadNibNamed:@"CocoaGameStarter" owner : self];
On 10.3 this works like a charm. On 10.2 on the other hand the
application exits because of an "internal glut error: trying to create
more than one application.". Running the debugger shows that
[NSApplication init] is called from within loadNibNamed: owner : on
10.2 but not on 10.3. Anyone have any ideas about how to solve this?
/Bishop
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.