I’m using SDL 1.2.13 with MS VS 2005. I’ve had lots of success and even more
fun playing with SDL so far and everything is going sweet, except i can’t get
any debug output from a printf. I know SDL outputs to STDOUT.TXT which i
presume would be created at run time in the same directory as the executable,
but I can’t find it. Is the STDOUT.TXT a feature that you have to enable
somehow? I’ve tried creating an stdout.txt for the app to use, but it enters no
data in there.
Often the ‘problem’ is that STDOUT will get output to either the folder you
have your .sln file or the intermediate directory. Look in both of those
places. If you see the stdout.txt file that can be fixed by making sure
your Debugging config has the working directory set correctly in your
project properties.
I’m using SDL 1.2.13 with MS VS 2005. I’ve had lots of success and even more
fun playing with SDL so far and everything is going sweet, except i can’t
get any debug output from a printf. I know SDL outputs to STDOUT.TXT which i
presume would be created at run time in the same directory as the
executable, but I can’t find it. Is the STDOUT.TXT a feature that you have
to enable somehow? I’ve tried creating an stdout.txt for the app to use, but
it enters no data in there.
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.13/1246 - Release Date: 1/27/2008
6:39 PM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.13/1246 - Release Date: 1/27/2008
6:39 PM
I’m using SDL 1.2.13 with MS VS 2005. I’ve had lots of success and even more
fun playing with SDL so far and everything is going sweet, except i can’t get
any debug output from a printf. I know SDL outputs to STDOUT.TXT which i
presume would be created at run time in the same directory as the executable,
but I can’t find it. Is the STDOUT.TXT a feature that you have to enable
somehow? I’ve tried creating an stdout.txt for the app to use, but it enters no
data in there.
The release version of SDL has stdio redirection disabled.
Try grabbing the source and building the SDLmain library yourself.
See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment