Bug #17108 2010-04-25 23:14

defcronyke

SDL Project crashes silently when run outside Code::Blocks

I created a simple SDL program using the new project wizard. The program compiles fine and runs fine through code::blocks, but when I try to run the resulting executable either by double clicking it in my file manager, or by executing it from a command line, the program flashes a black box on screen for a few milliseconds and then dies silently. If I compile the same source file from the command line (without using code::blocks), the program compiles and runs fine.

I'm running code::blocks svn 6203 (from Jens Lody repos) on Debian Sid 64-bit with sdl1.2.14-5 from Sid repos.

Category
Compiler
Group
 
Status
Closed
Close date
2010-05-08 07:56
Assigned to
 
defcronyke 2010-04-26 18:39

Actually, I am an idiot. This is not a bug. I just needed to copy some media files to the same directory as the exe is in. Sorry for wasting your time.