Open mvasi90 opened 9 months ago
I think it's because the CI mingw windows toolchain uses ucrt, whereas the mingw toolchain on linux uses msvcrt.
Related to #115
I had the same problem when I upgraded the dependencies in go.mod to v0.0.0-20240129144424-3260f5ba37f1. I use mingw toolchain in windows.
@zivlamp I'll be looking into it, but most likely next week.
Thanks for reply. Additional note: It's no problem in Linux, and it compiles fine in windows with version 20221204.
I've rebuilt the windows libraries using another toolchain. You can see if it helps.
When not crosscompiling it's always recommended, especially under Windows, to rebuild the fltk binaries from source by invoking go generate
from go-fltk sources (from Windows command prompt).
I switched the version to the latest in go.mod. It's working now! Thanks for your work and suggestions!
Impossible to build from Linux to Windows binary: