Closed everdrone closed 12 months ago
You will always need a C-compiler to build this package. I don't think it should be any difference using Go 1.20 as that always was the case. As Go doesn't yet support clang on Windows, I believe you need to use MSYS2 (or similar) and a suitable installation of GCC. The docs for Fyne installation on Windows should be able to help out with installing it as the dependencies are exactly the same.
Per the CGo section in the Go 1.20 release notes, CGO_ENABLED
will be disabled unless a C-compiler is installed. I don't think that should change anything here though as we don't have any precompiled C-headers as far as I'm aware.
I believe the above comment to answer your problem and will close this issues. Feel free to reopen if you don't agree.
Is MSYS2 required when using
go 1.20
?Trying to build the hello world program from
readme.md
gives the following errors: