Question

When you run the .exe, the SDL window appears, but so does a console window. How do I get just the SDL window by itself?

What configuration option should I be changing? Is there one?

I'm compiling with MinGW and using Eclipse Ganymede.

Was it helpful?

Solution

I had to compile with

-Wl,-subsystem,windows

as a linker flag.

Mmm, answerin' my own questions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top