Bad error?
Bad error?
- Subject: Bad error?
- From: Brent Gulanowski <email@hidden>
- Date: Wed, 29 Aug 2001 00:16:05 -0400
Well, leave it to someone who really has no idea what he's doing (but is
starting to have fun just the same): here's a scary error that I do not know
the meaning of, nor even where in docs I would start looking (uh, ok,
probably in the gcc docs, but I'll just cheat).
GLStuffCocoa.app has exited due to signal 10 (SIGBUS).
I'm trying to see if I can get an NSOpenGLView to display something. I
managed to get my little test app to compile, but I've clearly made a
mistake (or mistakes, probably). There are many things I don't fully grok
yet, but the biggest question mark in my head is how to deal with all of
these objects which are generated in a disk file and which are sort of
anonymous to me: NSApplication, NSOpenGLView, a custom controller and a
custom model. The outlet mechanism is odd: how does one object know that the
other is ever there? Does IB give it a symbol to put into the outlet?
Other questions:
Is NSApplication a Controller object? or what?
If I subclass NSApplication, do I have to change the "File's Owner" object
in IB to reflect this? Can NSApplication communicate to other objects
besides its delegate (not counting instance objects I might choose to
create)? Specifically, can it see View objects, ie the Key Window or the
Main Window etc, or Controller objects I create in IB?
Thanks,
BG