Get started with sdl2-gfx

Hi, I was getting started with the crate sdl2, using windows MSVC. The use of sdl2 was fine, then I started to enable the feature gfx.
however after I downloaded sdl2-gfx on sourceforge I found it different. It has neither .lib files nor .dll. I tried to follow the instructions on [How to get gfx running? · Issue #427 · veandco/go-sdl2 · GitHub], downloaded sdl2-gfx.dll and put it next to cargo.toml and in C:\Users\Myname.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-msvc\lib, but the build failed. Errors like:
note: LINK : fatal error LNK1181: cannot open input file 'SDL2_gfx.lib'.
I still have no idea how to enable sdl2-gfx in MSVC. Any ideas are welcomed.

1 Like