undefined reference to `WinMain@16' when compiling SDL2 code in VSCode

前端 未结 0 1046
攒了一身酷
攒了一身酷 2020-12-16 10:33

I\'ve tried adding an int WinMain and it doesn\'t work, then I found a solution by adding #define SDL_MAIN_HANDLED and it still doesn\'t work. Here

相关标签:
回答
  • 消灭零回复
提交回复
热议问题