You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After successfully building the game I tried running it in Windows Sandbox to see if it required any deps. I cannot run because it cannot find libmcfgthread-1.dll
The text was updated successfully, but these errors were encountered:
Not related to raylib/raylib-go. That has everything to do with your toolchain, i.e. old MinGW, broken install, etc. You didn't mention what C compiler are you using.
$ CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc GOOS=windows GOARCH=amd64 go build -ldflags "-s -w '-extldflags=-static'"
$ file basic_window.exe
basic_window.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows, 11 sections
Anyway, even without -extldflags=-static the binary should work without dependencies, try using TDM-GCC, in Windows that one always just worked for me.
After successfully building the game I tried running it in Windows Sandbox to see if it required any deps. I cannot run because it cannot find libmcfgthread-1.dll
The text was updated successfully, but these errors were encountered: