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)