glfw: Unable to install glfw/v3.1
I’m trying to install github.com/go-gl/glfw/v3.1/glfw with next command:
go get github.com/go-gl/glfw/v3.1/glfw
And got following result:
# github.com/go-gl/glfw/v3.1/glfw
In file included from ./glfw/src/internal.h:74:0,
from ./glfw/src/context.c:28,
from ./glfw_context.c:1:
./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.
I tried on Ubuntu.
$ uname -a
Linux localhost 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 19 (9 by maintainers)
I’ve just checked. For future reference the package
xorg-devinstalls everything needed.I think it’s actually
libxcursor-devFinally, after I’ve installed
libxinerama-dev,go get github.com/go-gl/glfw/v3.1/glfwsuccessfully finished. Thank you.Isn’t there a meta package that gets everything. Something like
xorg-dev?@paolov https://github.com/go-gl/glfw/blob/master/README.md
openSUSE Leap 15.3 problem is solved by:
libxi-devcontainsXInput2.h, and now it could not findX11/extensions/Xinerama.h