polevpn / webview

a cross-platform webview library for golang and c/c++
MIT License
37 stars 11 forks source link

Windows 64-bit mingw #4

Open wolfgangmeyers opened 3 years ago

wolfgangmeyers commented 3 years ago

Is it possible to build this into a 64 bit exe on windows? I installed 64 bit mingw gcc from here: https://jmeubank.github.io/tdm-gcc/articles/2021-05/10.3.0-release

When I try to install the webview dependency I see the following error. Googling has lead me to believe that something is missing from the 64 bit version of mingw gcc (https://githubmemory.com/repo/r-windows/rtools-packages/issues/185)

$ go get github.com/polevpn/webview
# github.com/polevpn/webview
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_eh
collect2.exe: error: ld returned 1 exit status
polevpn commented 1 year ago

https://github.com/niXman/mingw-builds-binaries/releases use win32-seh-msvcrt-rt_v10 version