sdl poc
Closed this issue · 3 comments
neophob commented
- create video interface / abstraction
- implement sdl2 solution as poc
- validates that the rendering works
pfiaux commented
I was trying to build on master and I'm getting:
⟩ make
> BUILD
src/vidsdl.go:8:2: cannot find package "github.com/veandco/go-sdl2/gfx" in any of:
/usr/local/Cellar/go/1.13.6/libexec/src/github.com/veandco/go-sdl2/gfx (from $GOROOT)
.../go/src/github.com/veandco/go-sdl2/gfx (from $GOPATH)
src/vidsdl.go:9:2: cannot find package "github.com/veandco/go-sdl2/sdl" in any of:
/usr/local/Cellar/go/1.13.6/libexec/src/github.com/veandco/go-sdl2/sdl (from $GOROOT)
.../go/src/github.com/veandco/go-sdl2/sdl (from $GOPATH)
make: *** [build] Error 1
Is there some go package manager or make install we need?
neophob commented
brew is you friend, you need sdl2, sdl2_gfx, sdl2_image, sdl2_mixer, sdl_net
hopefully the actions are useful soon!
neophob commented
sdl implementation works