Hi, I am just starting out using Nakama and I’ve been struggling trying to compile plugins on Windows, since Go does not support
-buildmode=plugin on this OS. So I was trying to make the workflow better by setting up Goland for syntax highlighting and stuff.
But I could not make Go cross-compile correctly, I tried setting the GOOS environment variable to ‘linux’, but I think it’s not enough because it says:
C:\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exec: "gcc": executable file not found in %PATH%
So I think that I need to use linux toolchain to build it correctly, but no idea how to install it for Windows, asking for help.
As a workaround, I just go to WSL and compile it from there, but eh, I want it to be a one-button job