您的位置:首页 > 其它

SDL2 for windows with MinGW32

2013-10-13 15:56 197 查看
Pleaserefertothefollowingsites:
#https://users.cs.jmu.edu/bernstdh/web/common/help/cpp_mingw-sdl-setup.php

Tutorial:
#http://lazyfoo.net/SDL_tutorials/index.php

Additionallibraries:
#http://www.libsdl.org/projects(foradditionallibraries,e.g.SDL_image)

Note:1.howtocompile,linkandrunthetest.c,refertoMakefile.
2.theorderoflinkinglibrariescannotbechanged!

Makefile:
all:
gcc-g-oYourFile.exeYourFile.c-lmingw32-lSDL2main-lSDL2-lSDL2_image
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  MinGW SDL2