I wanted to write something about SDL early on, and I didn't have time to make it, and now I have time to record my 1.1-point journey to SDL.
SDL (Simple DirectMedia Layer) is a free Cross-platform multimedia development package for games, Game SDK, demo software, simulators, MPEG players, and other applications.
SDL's capabilities are quite powerful ... Specific can be to the SDL official online inquiries, but also Baidu, Google yo ... A lot of ... I will not be a burden here.
Let's start our SDL tour here ...
In this article, let's talk about the installation of SDL ... I'm in a Linux environment.
To start with SDL programming, you first have to install an extension library on your computer. Just a few basics, okay?
Sdl-1.2.14.tar.tar
Sdl_ttf-2.0.10.tar.gz
Sdl_image-1.2.10.tar.gz
Sdl_gfx-2.0.22.tar.gz
nfs-share.tar.gz//This seemingly on the internet is not very easy to come down .... Because the network problem I also cannot send the attachment ... So there's no way ...
These are the ones that are available.
1. To unpack these packets, I will not say ...
2. #cd SDL-1.2.14
#./configure files are configured to generate makefile files to prepare for later compilation.
#make
#make Install
3. #cd sdl_gfx-2.0.22
#./configure
#make
#make Install
4. #cd sdl_image-1.2.10
#./configure
#make
#make Install
5. #cd sdl_ttf-2.0.10
#./configure
#make
#make Install
So everything is OK, is not the feeling that everything is very mechanical operation ... It's very simple ... The future work is to do their own dongdong ....
This article is from the "Late Evening" blog, please be sure to keep this source http://yiluohuanghun.blog.51cto.com/3407300/832566