步驟如下:
$ cd $ git clone https://github.com/steward-fu/sdl2 $ cd sdl2 $ sudo docker build -t mmiyoo . $ sudo docker run -it --rm -u $(id -u ${USER}):$(id -g ${USER}) -v $(pwd):/sdl2 mmiyoo /bin/bash I have no name!@fabb827a153f:/$ cd /sdl2 I have no name!@fabb827a153f:/$ make clean I have no name!@fabb827a153f:/$ make cfg I have no name!@fabb827a153f:/$ make
使用方式:
$ export SDL_VIDEODRIVER=mmiyoo $ export SDL_AUDIODRIVER=mmiyoo