banthar/Go-SDL
Sobre
Go bindings for SDL
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalGo-SDL
Go-SDL provides bindings for the SDL, SDL_image, SDL_mixer, and SDL_ttf libraries.
Prerequisites
- A version of Go compatible with weekly.2011-12-14
- SDL
- SDL_image
- SDL_mixer (For mixer package only)
- SDL_ttf (For ttf package only)
Installation
To install all of the relevant libraries, use the following:
go get github.com/banthar/Go-SDL/sdl
go get github.com/banthar/Go-SDL/ttf
go get github.com/banthar/Go-SDL/gfx
go get github.com/banthar/Go-SDL/mixer
If you don't have write permission for GOPATH/GOROOT, you may need to run the previous command as root. If you get errors while trying to run it using sudo, it's possible that the GOROOT/GOOS/GOARCH/GOBIN variables are not available to the make command. You can try using '-E' to preserve the environment:
sudo -E go get github.com/banthar/Go-SDL/sdl
sudo -E go get github.com/banthar/Go-SDL/ttf
sudo -E go get github.com/banthar/Go-SDL/gfx
sudo -E go get github.com/banthar/Go-SDL/mixer
It's also possible to install just using make:
make install
or
sudo -E make install
Usage
To import, use the following:
import "github.com/banthar/Go-SDL/sdl"
Replace the final 'sdl' with the library that you want to import.
Credits
- banthar
- Kevin MacLeod (mixer test music)
Explore projetos relacionados
Carregando…