Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: rayben on February 24, 2008, 02:05:56 pm

Title: SDL Project help
Post by: rayben on February 24, 2008, 02:05:56 pm
Hello!

I just downloaded CB (nightly) to my windows computer.
In my search for an alternative to Dev-C++, CB looks most promising.

Getting the SDL project to work was no problem. I get a little window with the CB logo in it.
However, there is also a console window in the background which I have to close after I've closed the main window.
Why is that? I got no such console when working in Dev-C++.

Another thing is when I try to run the .exe file in the debug folder.
I just barely have time to se the window open before it closes. How do I get it to run until it is exited in a correct way?

Title: Re: SDL Project help
Post by: ThEvis1t0R on February 24, 2008, 02:24:47 pm
Hi,
Try to compile your application in the release mode...
(build->select target->release)
then it should disappear...


Title: Re: SDL Project help
Post by: rayben on February 24, 2008, 02:27:38 pm
Thanks!
It worked :)