ubuntu安装SDL

sudo apt-get install libsdl1.2-dev

顺便把下面几个补充包装上:

sudo apt-get install libsdl-image1.2-dev

sudo apt-get install libsdl-mixer1.2-dev

sudo apt-get install libsdl-ttf2.0-dev

sudo apt-get install libsdl-gfx1.2-dev 

你可能感兴趣的:(ubuntu安装SDL)