[SDL] SDL with MinGW, no more output to console
demelier.david at gmail.com
Sat Sep 10 12:03:29 PDT 2011
On 09/09/2011 16:26, Ryan C. Gordon wrote:
>> add_executable(main main.c)
> set_target_properties(main PROPERTIES WIN32_EXECUTABLE FALSE)
> That should make it treat the thing as a console program instead of a
> GUI app.
> (and, I think, make it not need SDLmain linked in.)
> Brian's advice about NO_STDIO_REDIRECT is good, too.
> SDL mailing list
> SDL at lists.libsdl.org
Thanks the set_target_properties remove the need of SDLmain but the
stdout is still outside in a file, I will recompile SDL using
More information about the SDL