New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work on Windows 10 #156
Comments
That problem doesn't occur in github.com/go-gl/glfw/v3.3/glfw although it was present in version 3.2 of that library. |
What version of Go are you using? Is there a C compiler in |
I don't think I have C compiler, what C compiler I should use for Windows? |
This package uses cgo, so a C compiler is required. See requirements at https://github.com/go-gl/gl#readme. https://go.dev/wiki/cgo#windows lists mingw-w64 as one example of a C compiler that can be used on Windows. There may be more options available.
That's unexpected. It you set
|
On macOS I use mingw-w64 for building, here my building command:
|
It works now. I used GCC from https://winlibs.com and set CGO_ENABLED=1. |
I can't compile any program on Windows 10 that uses this library
The text was updated successfully, but these errors were encountered: