No stdout.txt with SDL

前端 未结 1 488
无人共我
无人共我 2021-01-12 18:22

I\'m working on a little game using C++ with SDL2 using Code::Blocks 12.11 under Windows 7. I\'m using the mingw32-gcc compiler and downloaded the standard precompiled Windo

1条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-12 18:56

    Solved (embarrassingly simple):

    SDL 1.2 did that outputting into files, SDL 2 does not. However most information (toturials and such) on the net is about SDL 1.2 since SDL 2 is new.

    Furthermore compiling with -mwindows sends all stdout and stderr to null.

    Compiling without solves my problem.

    0 讨论(0)
提交回复
热议问题