azul3d / engine

Azul3D - A 3D game engine written in Go!
https://azul3d.org
Other
615 stars 52 forks source link

engine/gfx/window/glfwgles2.go imports non existent package. #171

Open Jsewill opened 7 years ago

Jsewill commented 7 years ago

engine/gfx/window/glfwgles2.go imports azul3d.org/engine/gfx/gles2, which doesn't appear to exist anymore, or even ever in this particular repository. As a consequence, this seems to break tools like go's dep and glide. Perhaps I'm missing something.

Jsewill commented 7 years ago

Could it be that it should be importing from engine/gfx/internal/gles2/2.0/gles2/?

nwidger commented 6 years ago

I just ran into this same issue trying to use Go 1.11's new module support:

$ cd $GOPATH/src/github.com/nwidger/nintengo
$ GO111MODULE=on go mod -sync
go: creating new go.mod: module github.com/nwidger/nintengo
go: finding azul3d.org/engine/gfx/window latest
go: finding azul3d.org/engine/gfx latest
go: finding azul3d.org/engine latest
go: finding azul3d.org/engine/native/al latest
go: finding azul3d.org/engine/native latest
go: finding github.com/cryptix/wav latest
go: finding github.com/scottferg/Go-SDL/sdl latest
go: finding github.com/scottferg/Go-SDL latest
go: finding azul3d.org/engine/keyboard latest
go: finding github.com/go-gl/glu latest
go: finding github.com/gopherjs/gopherjs/js latest
go: finding github.com/gopherjs/gopherjs latest
go: downloading github.com/gopherjs/gopherjs v0.0.0-20180628210949-0892b62f0d9f
go: finding azul3d.org/engine/gfx/camera latest
go: finding azul3d.org/engine/lmath latest
go: finding github.com/scottferg/Go-SDL/sdl/audio latest
go: finding github.com/mitchellh/go-homedir latest
go: finding github.com/go-gl/gl latest
go: finding github.com/cheekybits/is latest
go: finding azul3d.org/engine/gfx/gles2 latest
go: finding github.com/go-gl/glfw/v3.1/glfw latest
go: finding github.com/go-gl/glfw latest
go: finding github.com/gopherjs/webgl latest
go: import "github.com/nwidger/nintengo/nes" ->
    import "azul3d.org/engine/gfx/window" ->
    import "azul3d.org/engine/gfx/gles2": cannot find module providing package azul3d.org/engine/gfx/gles2

This was with github.com/nwidger/nintengo checked out to 24e5e19027 (master). I'm using a Go toolchain built from https://go.googlesource.com/go at 8a330454dc (master).