V
V
Vladimir Grabko2016-07-08 15:47:37
go
Vladimir Grabko, 2016-07-08 15:47:37

Why doesn't it compile on Windows?

Under ubuntu everything is ok.
On Windows, I installed all the MinGW packages and tried to use https://github.com/go-gl/glfw .
When compiling, everything went to hell for me.

# github.com/go-gl/glfw/v3.2/glfw
In file included from glfw/src/internal.h:161:0,
                 from glfw/src/context.c:28,
                 from ..\github.com\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
 #include <dinput.h>
                    ^
compilation terminated.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Grabko, 2016-07-09
@VGrabko

I should have used mingw 64

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question