Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upcmd/go: 'go build' encountered invalid C headers under MacOS #30072
Comments
This comment has been minimized.
This comment has been minimized.
These sorts of symptoms on macOS often indicate a broken Xcode install or some other, incompatible In this particular case, it appears that you have an invalid |
This comment has been minimized.
This comment has been minimized.
Are you able to build C programs in the same environment? You may be able to run |
hbprotoss commentedFeb 4, 2019
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Actually, I'm using Golang to debug go program, after I hit the debug button, it didn't compile.
The command used to compile is
What did you expect to see?
No error
What did you see instead?
It reports