glfw: Unable to go get glfw v3.2

Trying to use the following command ends up just returning an error, but works for v3.1.

Command: go get -u github.com/go-gl/glfw/v3.2/glfw

Error:

# github.com/go-gl/glfw/v3.2/glfw
In file included from ./glfw/src/internal.h:167:0,
                 from ./glfw/src/context.c:28,
                 from ..\..\go-gl\glfw\v3.2\glfw\c_glfw.go:4:
./glfw/src/win32_platform.h:70:20: fatal error: dinput.h: No such file or directory
compilation terminated.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

I wonder if a -Iglfw/deps/mingw in build.go work?