PDA

View Full Version : SIOUX console & GLUT



08-27-2001, 09:58 AM
Does anyone know how to get BOTH a SIOUX console and a GLUT window active together? I think it might require changing the buffer size of the Metrowerks SIOUX console while running GLUT...it seems that you have to have call the printf() function about ~200 times before you exceed the default buffer so that the SIOUX console appears and gets updated. If anyone can help I would appreciate it... Thanks!

phenotic
08-27-2001, 06:13 PM
I'm not sure about C but if you use the C++ std lib object cerr all output will bypass the buffer and be updated on demand.

Hope this helps

phenotic
08-27-2001, 06:19 PM
I'm not sure about C but if you use the C++ std lib object cerr all output will bypass the buffer and be updated on demand.

Hope this helps

Qwylli
08-29-2001, 12:34 AM
With GLUT, you need to call fprintf(strerr etc, instead of using printf. It's how it work, you can do nothing against it, it's buggy, and it's one of the many reasons why I don't use GLUT anymore.

08-31-2001, 05:00 AM
Thanks -- you guys are TERRIFIC. Using the stderr definitely works.

Incidently, I too am finding GLUT underwhelming, but I have to use it since the code has to be cross-platform (targets = IRIX, MacOS, and Linux).