mac编译windows包使用cgo

主要问题是go里面使用了sqlite3包导致需要使用cgo来编译 runtimecgo gcc_libinit_windows.c:7:10: fatal error: windows.h file not found 安装MacPort

7月前800

Windows上使用CGO

1,安装mingw,区分版本,根据你的系统下载不同的版本。下载编译好的。64位https:sourceforgeprojectsmingw-w64

12月前560