【Go】cgo: C compiler “gcc“ not found: exec: “gcc“: executable fil
go 引用 go-sqlite3 模块时,报错:
# github.com/mattn/go-sqlite3
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%
解决方案:
安装 TDM-GCC 即可
https://jmeubank.github.io/tdm-gcc/articles/2021-05/10.3.0-release