Closed MRLokop closed 3 years ago
I am create a repository, and implement isascii function, and i got another error:
$ go run main/main.go
# command-line-arguments
C:\Users\[user]\sdk\go1.15.8\pkg\tool\windows_amd64\link.exe: running g++ failed: exit status 1
/usr/lib/gcc/x86_64-pc-msys/10.2.0/../../../../x86_64-pc-msys/bin/ld: cannot find -lmingwex
/usr/lib/gcc/x86_64-pc-msys/10.2.0/../../../../x86_64-pc-msys/bin/ld: cannot find -lmingw32
collect2: error: ld returned 1 exit status
@TheMRLokopOff Sorry for the late reply. It's really strange, I just built it under Windows 10. I may try another version of mingw to see whether I could repo this issue. Thanks to report it anyway.
Hello @AllenDang, i tried 3 versions of mingw, and no one worked. So can you please help with build it on linux for windows, or give your mingw version. Thanks for reply!
@TheMRLokopOff So you are trying to build windows version under linux?
Initially, I tried to do everything on windows, but I couldn't. I tried using wsl, but it didn't work there either, if needed
@TheMRLokopOff I will gather the information of my Windows 10 tonight and get back to you.
@TheMRLokopOff Here is a working env information from another issue. https://github.com/AllenDang/giu/issues/147#issuecomment-789963826
Using: