使用 govcl 开发桌面UI 在 Lazarus IDE 编译中报错
go build -i -buildmode=exe -ldflags="-H windowsgui" -tags="tempdll" -o "project1.exe"
flag provided but not defined: -i
usage: go build [-o output] [build flags] [packages]
Run 'go help build' for details.
这是因为 1.16不支持-i参数了,需要去掉 -i 参数
修改 res2go Lazarus IDE插件 的编译配置
res2go-ide-plugin-master/ugolang.pas 修改完重新安装该插件