【Go】cgo: C compiler “gcc“ not found: exec: “gcc“: executable file not found in %PATH%
Go开发报错,windows需要gcc支持,报错:cgo: C compiler “gcc“ not found: exec: “gcc“: executable file not found in %PATH%,需要安装一下gcc
解决方法:
下载符合自己系统版本的压缩包,MinGW-w64 - for 32 and 64 bit Windows - Browse /mingw-w64 at SourceForge.net
下载这个版本: