- 安装SDL2
brew install sdl2
安装目录:/usr/local/Cellar/sdl2/2.0.14_1
- 安装SDL2_TTF
brew install sdl2_ttf
安装目录:/usr/local/Cellar/sdl2_ttf/2.0.15
- 安装SDL2_IMAGE
brew install sdl2_image
安装目录:/usr/local/Cellar/sdl2_image/2.0.5
brew install sdl2
安装目录:/usr/local/Cellar/sdl2/2.0.14_1
brew install sdl2_ttf
安装目录:/usr/local/Cellar/sdl2_ttf/2.0.15
brew install sdl2_image
安装目录:/usr/local/Cellar/sdl2_image/2.0.5