-
-
Notifications
You must be signed in to change notification settings - Fork 226
Getting Started
Lilis Iskandar edited this page Aug 14, 2016
·
8 revisions
Before we can start using go-sdl2, we need to install the native version of SDL2.
On Linux, most of the popular distributions have SDL2 in their package repository. The following describes a command that can install SDL2 on specific Linux distributions. Note: some older distributions may be missing some if not all of the SDL2 packages. In that case, we may install SDL2 by compiling the source which will be described below.
dnf install SDL2{,_image,_mixer,_ttf,_gfx}-devel
pacman -S sdl2{,_image,_mixer,_ttf,_gfx}
`apt-get install libsdl2{,-image,-mixer,-ttf,-gfx}-dev
TODO
TODO
After we installed SDL2, we can proceed to installing go-sdl2.