godot-mono-builds icon indicating copy to clipboard operation
godot-mono-builds copied to clipboard

Windows release doesn't include MSVC-compatible Mono libraries

Open Gamerfiend opened this issue 3 years ago • 2 comments

OS/device including version: Related to the windows release

Issue description: The release of the desktop for windows windows-x86_64.zip has the dll files ending with .a or .o, making them not usable when building godot on windows. I've tried just renaming them but that doesn't fix it.

Screenshots of issue: broken_dll

Gamerfiend avatar Dec 12 '21 01:12 Gamerfiend

The Mono builds built by this repo are built with MinGW instead of MSVC which makes them useless when you want to compile Godot on Windows. I suggest renaming the issue btw.

alula avatar Jul 22 '22 18:07 alula

The Mono builds built by this repo are built with MinGW instead of MSVC which makes them useless when you want to compile Godot on Windows.

MinGW has come a long way since its early MinGW32 days, especially if you use llvm-mingw to use Clang + LLD on Windows. In fact, it performs better on Godot compared to MSVC, especially when LTO is enabled.

The only issue is that you can't use the Visual Studio debugger without converting the symbols beforehand, but this isn't a problem for casual development (where you can use GDB/LLDB instead).

Both standard and Mono official Godot builds are compiled with MinGW, so I don't think there are plans to provide MSVC libraries for Mono.

Calinou avatar Jul 22 '22 19:07 Calinou