Compiling sdl app in windows

I there, i’m working on an SDL app, and im using mingw to compile the app,
it’s compiling right, however when i run it from the explorer, it opens a
console window. I want to avoid this console window, can you help me?–
"…e ? aos 18 meses de idade que o homem descobre esse monumento ao ego
humano - o espelho!" - in Odisseia 18/2/03

Carlos Martins wrote:

I there, i’m working on an SDL app, and im using mingw to compile the
app, it’s compiling right, however when i run it from the explorer, it
opens a console window. I want to avoid this console window, can you
help me?

Not really an SDL question, but (http://www.mingw.org/mingwfaq.shtml)
will tell you that you have to add a switch “-mwindows” to the final
link commandline to tell it that it’s not a console application.

ATB,
Simon