Cannot open input file 'SDL2.lib'

Hey everybody, how are you going?

I'm trying to install a SLD2.lib and I downloaded the file "" and took everything that was inside the x86_64-w64-mingw32\lib folder and copied it into my C:\Users\<username> \.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib and the file SDL2.dll I placed in the root of the project, but the error still persists.

Also created a system env: Lib with the value C:\Users\<username>\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib

= note: LINK : fatal error LNK1181: cannot open input file 'SDL2.lib'

The mingw compiler is different from the MSVC compiler. They're not compatible. If you're using the MSVC toolchain, and it looks like you are, you'll need the MSVC builds of SDL2