Skip to content
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 build on Windows 10 #24

Closed
robert-dzikowski opened this issue Jul 12, 2023 · 4 comments
Closed

Doesn't build on Windows 10 #24

robert-dzikowski opened this issue Jul 12, 2023 · 4 comments

Comments

@robert-dzikowski
Copy link

I know that Windows isn't supported, but could you help me with this build error, please:

λ go build
package github.com/icexin/gocraft
        imports github.com/go-gl/gl/v3.3-core/gl: build constraints exclude all Go files in C:\Users\Robert\go\pkg\mod\github.com\go-gl\gl@v0.0.0-20190320180904-bf2b1f2f34d7\v3.3-core\gl
package github.com/icexin/gocraft
        imports github.com/go-gl/glfw/v3.2/glfw: build constraints exclude all Go files in C:\Users\Robert\go\pkg\mod\github.com\go-gl\glfw@v0.0.0-20200222043503-6f7a984d4dc4\v3.2\glfw
@icexin
Copy link
Owner

icexin commented Jul 14, 2023

I'll find some time to find a windows computer to try

@robert-dzikowski
Copy link
Author

That problem doesn't occur in latest version of glfw, 3.3 (github.com/go-gl/glfw/v3.3/glfw), but it occurs in all versions of gl.

@icexin
Copy link
Owner

icexin commented Jul 14, 2023

I have tried with mingw64 on Windows 10, all is ok.

@robert-dzikowski
Copy link
Author

It works now. I used GCC from https://winlibs.com and set CGO_ENABLED=1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants