neophob/ganother-world

sdl poc

Closed this issue · 3 comments

  • create video interface / abstraction
  • implement sdl2 solution as poc
  • validates that the rendering works

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?

brew is you friend, you need sdl2, sdl2_gfx, sdl2_image, sdl2_mixer, sdl_net

hopefully the actions are useful soon!

sdl implementation works