Open vonaka opened 1 year ago
Does this have an update by any chance?
Attempting to do the same thing, but:
package command-line-arguments
imports github.com/duysqubix/gobc/internal/windows
imports github.com/gopxl/pixel/v2/pixelgl
imports github.com/go-gl/gl/v3.3-core/gl: build constraints exclude all Go files in /home/rpl-node/go/pkg/mod/github.com/go-gl/gl@v0.0.0-20211210172815-726fda9656d6/v3.3-core/gl
Does this have an update by any chance?
Attempting to do the same thing, but:
package command-line-arguments imports github.com/duysqubix/gobc/internal/windows imports github.com/gopxl/pixel/v2/pixelgl imports github.com/go-gl/gl/v3.3-core/gl: build constraints exclude all Go files in /home/rpl-node/go/pkg/mod/github.com/go-gl/gl@v0.0.0-20211210172815-726fda9656d6/v3.3-core/gl
I haved this issue, ensure mingw is correctly set in your var environnement
I'm trying to compile my application from Linux to Windows. I use go-gl jointly with go-sdl2 and to compile the program I follow these instructions. Additionally, I set
CGO_CFLAGS
to-DTAG_WINDOWS -D_WIN32
andCGO_LDFLAGS
to-lopengl32
and I rungo build
withWGL
tag:Unfortunately, when I run the program on my Windows machine
gl.Init
fails to loadglGetnTexImage
. Following README, I callgl.Init
after activating OpenGL context:On Windows I have opengl 4.6.