LINUX下载编译SDL2

  • 下载

http://www.linuxfromscratch.org/blfs/view/cvs/multimedia/sdl2.html

  • 解压
tar xf SDL2-2.0.10.tar.gz 
cd SDL2-2.0.10/
  • 编译
BUILD_LIBS=${HOME}/build_libs

./configure --prefix=${BUILD_LIBS}
make
make install

 

你可能感兴趣的:(Linux/Shell)