I saved each message to a log file when executing commands for Windows.
This makes it possible to identify errors.
Various errors can occur depending on the environment, so I think we should keep a log.
In my environment, the following error occurred when executing lib.exe.
Visual Studio 2019 Developer Command Prompt v16.11.23
Copyright (c) 2021 Microsoft Corporation
Microsoft (R) Library Manager Version 14.29.30147.0
Copyright (C) Microsoft Corporation. All rights reserved.
exports.def : fatal error LNK1242: '.weak.Init_extra_exts.ruby_push_include' is an invalid export symbol name
Also, in the case of RubyInstaller 3.2.0-1, it had to be "ridk disable".
In the "ridk enable" condition, msys2 GNU toolchain's lib will start.
I saved each message to a log file when executing commands for Windows. This makes it possible to identify errors. Various errors can occur depending on the environment, so I think we should keep a log.
In my environment, the following error occurred when executing lib.exe.
Also, in the case of RubyInstaller 3.2.0-1, it had to be "ridk disable". In the "ridk enable" condition, msys2 GNU toolchain's lib will start.