Closed greenenergy closed 3 years ago
I just followed the instructions to download the project and install it, and it failed thusly:
$ git clone https://github.com/g3n/g3nd Cloning into 'g3nd'... remote: Enumerating objects: 2438, done. remote: Counting objects: 100% (123/123), done. remote: Compressing objects: 100% (105/105), done. remote: Total 2438 (delta 35), reused 46 (delta 14), pack-reused 2315 Receiving objects: 100% (2438/2438), 50.86 MiB | 27.31 MiB/s, done. Resolving deltas: 100% (1482/1482), done. $ cd g3nd $ go install go: downloading github.com/g3n/engine v0.1.1-0.20210609173700-de78e3c4204a go: downloading github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 go: downloading github.com/go-gl/glfw/v3.3/glfw v0.0.0-20210410170116-ea3d685f79fb go: downloading github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 go: downloading golang.org/x/image v0.0.0-20210607152325-775e3b0c77b9 # github.com/g3n/engine/audio/vorbis ../../../tools/gostuff/pkg/mod/github.com/g3n/engine@v0.1.1-0.20210609173700-de78e3c4204a/audio/vorbis/vorbis.go:17:11: fatal error: codec.h: No such file or directory 17 | // #include "codec.h" | ^~~~~~~~~ compilation terminated. # github.com/g3n/engine/audio/ov ../../../tools/gostuff/pkg/mod/github.com/g3n/engine@v0.1.1-0.20210609173700-de78e3c4204a/audio/ov/vorbisfile.go:18:11: fatal error: vorbisfile.h: No such file or directory 18 | // #include "vorbisfile.h" | ^~~~~~~~~~~~~~ compilation terminated. # github.com/g3n/engine/audio/al ../../../tools/gostuff/pkg/mod/github.com/g3n/engine@v0.1.1-0.20210609173700-de78e3c4204a/audio/al/al.go:18:11: fatal error: al.h: No such file or directory 18 | // #include "al.h" | ^~~~~~ compilation terminated. # github.com/go-gl/glfw/v3.3/glfw In file included from ./glfw/src/internal.h:188, from ./glfw/src/context.c:30, from ../../../tools/gostuff/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20210410170116-ea3d685f79fb/c_glfw.go:4: ./glfw/src/x11_platform.h:36:10: fatal error: X11/Xcursor/Xcursor.h: No such file or directory 36 | #include <X11/Xcursor/Xcursor.h> | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. `
Nevermind - I missed the prereqs. After I installed the prereqs, it built wihtout issue.
I just followed the instructions to download the project and install it, and it failed thusly: