g3n / engine

Go 3D Game Engine (http://g3n.rocks)
https://discord.gg/NfaeVr8zDg
BSD 2-Clause "Simplified" License
2.79k stars 295 forks source link

Installation for Mac OSX needs updating #240

Closed amlwwalker closed 3 years ago

amlwwalker commented 3 years ago

If you follow the instructions as they stand with Go Modules enabled (any modern Go setup) it will fail

main.go:4:2: no required module provides package github.com/g3n/engine/app; to add it:
    go get github.com/g3n/engine/app
main.go:5:2: no required module provides package github.com/g3n/engine/camera; to add it:
    go get github.com/g3n/engine/camera
main.go:6:2: no required module provides package github.com/g3n/engine/core; to add it:
    go get github.com/g3n/engine/core
main.go:7:2: no required module provides package github.com/g3n/engine/gls; to add it:
    go get github.com/g3n/engine/gls
main.go:8:2: no required module provides package github.com/g3n/engine/gui; to add it:
    go get github.com/g3n/engine/gui
main.go:9:2: no required module provides package github.com/g3n/engine/light; to add it:
    go get github.com/g3n/engine/light
main.go:10:2: no required module provides package github.com/g3n/engine/loader/obj; to add it:
    go get github.com/g3n/engine/loader/obj
main.go:11:2: no required module provides package github.com/g3n/engine/math32; to add it:
    go get github.com/g3n/engine/math32
main.go:12:2: no required module provides package github.com/g3n/engine/renderer; to add it:
    go get github.com/g3n/engine/renderer
main.go:13:2: no required module provides package github.com/g3n/engine/window; to add it:
    go get github.com/g3n/engine/window

Those instructions aren't quite right, you have to specify master branch specifically. The solution was written in an issue https://github.com/g3n/engine/issues/117#issuecomment-530508997

danaugrs commented 3 years ago

I created a new release tag based on master to fix this issue. Let me know if it works now!