cmake make rust cargo
Make sure that the MSYS
tool is installed.
Then follow these steps:
1. Update MSYS using:
pacman -Syuu
pacman -S mingw-w64-x86_64-toolchain
b) for 32-bit:
pacman -S mingw-w64-i686-toolchain
For further information, check this link.
Download the GLFW pre-compiled binaries.
Put the banaries that satisfies your computer's bit architecture, and put them inside:
path/to/msys/mingw-your-version/lib