Getting Errors out of console

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
sebi707
Posts: 18
Joined: Tue Feb 20, 2007 4:19 pm

Getting Errors out of console

Post by sebi707 »

i know how to hide the console but so ich don't know which textures aren't loaded etc.
i want to show an ingame-console but how to get these errors?
Ico
Posts: 289
Joined: Tue Aug 22, 2006 11:35 pm

Post by Ico »

Think you could redirect stdout to your own stream and read that to get the text but don't ask me for code, I've never done that myself. :)
sebi707
Posts: 18
Joined: Tue Feb 20, 2007 4:19 pm

Post by sebi707 »

so now i redirected the cout stream to a file but the file is empty after executing my programm. i also directed the output of printf to the file but the file is stil empty!
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

All of the log messages are sent to the user event receiver. It just needs to respond to log text events.

There are issues with the way that the Irrlicht library is built that can cause problems redirecting stdout/stderr. I can explain in greater detail if necessary.

Travis
Post Reply