I’m not sure if it’s SDL, mingw, or something else, but some programs I’ve built using SDL for windows have an unwanted terminal window that’s not being used, and it looks tacky. Other programs built with the same tools and libraries don’t have the terminal.
I’m not sure if it’s SDL, mingw, or something else, but some programs I’ve built using SDL for windows have an unwanted terminal window that’s not being used, and it looks tacky. Other programs built with the same tools and libraries don’t have the terminal.
You have to pass --subsystem windows to the linker. For example as -
Wl,–subsystem,windows.
--Gabriel
Add -mwindows to the linker options.–
Cheers,
Josh
On Sat, 24 Sep 2005 11:49:41, cal at splitreflection.com wrote:
I’m not sure if it’s SDL, mingw, or something else, but some programs I’ve built using SDL for windows have an unwanted terminal window that’s not being used, and it looks tacky. Other programs built with the same tools and libraries don’t have the terminal.
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
I’m not sure if it’s SDL, mingw, or something else, but some programs I’ve built using SDL for windows have an unwanted terminal window that’s not being used, and it looks tacky. Other programs built with the same tools and libraries don’t have the terminal.
Uhm, if you mean that when you launch certain applications built with
MinGW on Windows, blank console window appears… ok, I also got this.
If you’re using DevCpp, there’s checkbox in Options called “Don’t create
console window” (or sth like that). Otherwise, AFAIK passing -mwindows
to the compiler has similiar effect.
And no, it’s not SDL
Koshmaar