2.安装SDL:
因为ubuntu里面有SDL,所以直接在命令窗口输入以下就可以了:
sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-sound1.2-dev
检测SDL装上了没有:sdl-config --exec-prefix --version --cflags
2.安装SDL:
因为ubuntu里面有SDL,所以直接在命令窗口输入以下就可以了:
sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-sound1.2-dev
检测SDL装上了没有:sdl-config --exec-prefix --version --cflags