Undefined reference to 'SDL_main'

前端 未结 5 790
没有蜡笔的小新
没有蜡笔的小新 2020-12-11 04:59

I\'ve recently decided to try working with SDL with CodeBlocks 10.05. I started with the tutorial on http://www.sdltutorials.com/sdl-tutorial-basics and did my best to follo

5条回答
  •  盖世英雄少女心
    2020-12-11 05:19

    put these arguments to the main function. I had this problem too, and I fixed it few seconds ago.

    int main(int argv, char** args) { }

提交回复
热议问题