fengxxc / wechatmp2markdown

微信公众号文章转Markdown
MIT License
82 stars 16 forks source link

mingw32-make win-build-win64编译错误 #16

Open JavenQvQ opened 4 days ago

JavenQvQ commented 4 days ago

输出 go clean go: downloading github.com/PuerkitoBio/goquery v1.8.1 go env -w CGO_ENABLED=0 go env -w GOOS=windows go env -w GOARCH=amd64 go build -ldflags "-s -w" -o build/wechatmp2markdown-v1.1.9_win64.exe main.go mingw32-make: *** [Makefile:33: win-build-win64] Error -1073741502

fengxxc commented 2 days ago

有更详细的错误信息吗?或者你可以试试直接用 go build 命令编译

JavenQvQ commented 1 day ago

使用go build 会报错connectex: A connection attempt failed,执行go env -w GO111MODULE=on和go env -w GOPROXY=https://goproxy.cn,direct后解决并顺利编译 但还是不能使用mingw32-make win-build-win64编译和上面的错误信息相同,还会报错 go.exe-应用程序错误,应用程序无法正常启动(0xc0000142)。请单击“确定”关闭应用程序