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
#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
相关文章推荐
- sdl2显示bmp图片
- SDL2-Tutorial00
- SDL2 自己画按钮
- SDL基础-2、配置SDL2_image(CB)
- SDL2显示YUV图像
- 创建SDL2 ios xcode工程
- Linux 下SDL2 image安装及使用
- 将五子棋和时钟移植到安卓(C4droid)下,示例 SDL2 的夸平台移植、触摸事件
- OpenGL的SDL2接入程序
- FFmpeg 利用 SDL2 播放视频
- OpenGL进阶(十八) - 从零搭建基于SDL2的GLSL编辑框架
- SDL2 更改窗口大小,视频卡主
- SDL2 自建对话框
- sdl2_ttf基于ti交叉编译问题
- Android编译SDL2和demo展示(2.0.5)
- SDL2 Tutorial
- SDL2学习笔记1-环境搭建以及Hello SDL
- C::B配置SDL2学习记录
- SDL2:生成完全透明的纹理(SDL2: Generate fully transparent texture)
- FFmpeg3.3.2+SDL2实现流媒体音频播放