-
Notifications
You must be signed in to change notification settings - Fork 297
Installation
Troubleshooting
-
Error:
$ go get github.com/go-gl/gl/v3.2-core/gl \# github.com/go-gl/gl/v3.2-core/gl src/github.com/go-gl/gl/v3.2-core/gl/procaddr.go:52:21: fatal error: GL/glx.h: No such file or directory \#include <GL/glx.h> \^ compilation terminated.
Try:sudo apt-get install freeglut3-dev
-
Error:
$ go get github.com/go-gl/glfw/v3.1/glfw \# github.com/go-gl/glfw/v3.1/glfw In file included from src/github.com/go-gl/glfw/v3.1/glfw/native_linbsd.go:8:0: glfw/include/GLFW/glfw3native.h:88:36: fatal error: X11/extensions/Xrandr.h: No such file or directory \#include <X11/extensions/Xrandr.h> \^ compilation terminated.
Try:sudo apt-get install libxrandr-dev
-
Error:
$ go get github.com/go-gl/glfw/v3.1/glfw \# github.com/go-gl/glfw/v3.1/glfw In file included from src/github.com/go-gl/glfw/v3.1/glfw/glfw/src/internal.h:74:0, from src/github.com/go-gl/glfw/v3.1/glfw/glfw/src/context.c:28, from src/github.com/go-gl/glfw/v3.1/glfw/glfw_context.c:1: src/github.com/go-gl/glfw/v3.1/glfw/glfw/src/x11_platform.h:38:33: fatal error: X11/Xcursor/Xcursor.h: No such file or directory \#include <X11/Xcursor/Xcursor.h> \^ compilation terminated.
Try:sudo apt-get install libxcursor-dev
-
Error:
$ go get github.com/go-gl/glfw/v3.1/glfw \# github.com/go-gl/glfw/v3.1/glfw In file included from src/github.com/go-gl/glfw/v3.1/glfw/glfw/src/internal.h:74:0, from src/github.com/go-gl/glfw/v3.1/glfw/glfw/src/context.c:28, from src/github.com/go-gl/glfw/v3.1/glfw/glfw_context.c:1: src/github.com/go-gl/glfw/v3.1/glfw/glfw/src/x11_platform.h:47:36: fatal error: X11/extensions/XInput2.h: No such file or directory \#include <X11/extensions/XInput2.h> \^ compilation terminated.
Try:sudo apt-get install libxi-dev
-
Error:
$ go get github.com/go-gl/glfw/v3.1/glfw \# github.com/go-gl/glfw/v3.1/glfw In file included from src/github.com/go-gl/glfw/v3.1/glfw/glfw/src/internal.h:74:0, from src/github.com/go-gl/glfw/v3.1/glfw/glfw/src/context.c:28, from src/github.com/go-gl/glfw/v3.1/glfw/glfw_context.c:1: src/github.com/go-gl/glfw/v3.1/glfw/glfw/src/x11_platform.h:53:37: fatal error: X11/extensions/Xinerama.h: No such file or directory \#include <X11/extensions/Xinerama.h> \^ compilation terminated.
Try:sudo apt-get install libxinerama-dev