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

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

Open
stanimirivanovde opened this issue Nov 18, 2022 · 0 comments

Comments

@stanimirivanovde
Copy link

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/glfw@v0.0.0-20211213063430-748e38ca8aec/build.go:53:8: could not import C (cgo preprocessing failed) (compile)
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

1 participant