gl icon indicating copy to clipboard operation
gl copied to clipboard

could not import C (cgo preprocessing failed) (compile) when running staticcheck

Open stanimirivanovde opened this issue 3 years ago • 0 comments

I have the following error when running staticcheck on my app in a golang:1.19-buster docker container. I also installedlibgl1-mesa-dev but it didn't help:

staticcheck ./...
#21 82.97 /go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/build.go:53:8: could not import C (cgo preprocessing failed) (compile)

stanimirivanovde avatar Nov 18 '22 04:11 stanimirivanovde