This should build on Windows by issuing > cargo build command from the Windows command prompt with:
Installed Rust MSVC toolchain using rustup
Installed Windows Clang
Installed Windows CMake
This also removes winmm from linking on Windows, as that was apparently only needed for MSYS2 which is not compatible with the MSVC toolchain. Maybe if there is a way to test whether MSYS or the GNU toolchain is being used it could be re-added but the goal was to use the MSVC toolchain so this is probably the better solution for now.
This should build on Windows by issuing
> cargo build
command from the Windows command prompt with:This also removeswinmm
from linking on Windows, as that was apparently only needed for MSYS2 which is not compatible with the MSVC toolchain. Maybe if there is a way to test whether MSYS or the GNU toolchain is being used it could be re-added but the goal was to use the MSVC toolchain so this is probably the better solution for now.