GLUI on OS X 10.1

I have been trying to get GLUI to work on OsX…10.1
I have been able to compile everything and create the libglui.a library…Also compiled the examples but when I go to run one I get about 200 errors like the following…
example1[725] *** _NSAutoreleaseNoPool(): Object 0x143890 of class NSCFString autoreleased with no pool in place - just leaking
kCGErrorInvalidConnection : CGSNewWindow: Invalid connection
2001-10-19 01:39:10.601 example1[725] _NXCreateWindow: error creating window (1002)

Does anyone know what is going on?

I would really like to try out this user interface stuff by Rademacher

Thanks…

GLUI, at least in its beta version, is not very well designed when taking memory leaks into account. Destructors are often missing. However that should give you only run-time warnings!?

Originally posted by jmmistrot:

example1[725] *** _NSAutoreleaseNoPool(): Object 0x143890 of class NSCFString autoreleased with no pool in place - just leaking

To take care of this, you need to create an NSAutoreleasePool (e.g. NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; at the beginning and [pool release] at the end).

Josh
josha@cs.northwestern.edu