You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
on and off for the last few months I've tried to set up sdl2 on rust. While on linux and mac it as easy as creating this Cargo.toml and running cargo build, on windows I fail consistently with the following error messages: error.txt
The lines that I think matter are the following:
Creating library H:/HD/Documernts/sdlTest/target/debug/build/sdl2-sys-128904f9eb441901/out/build/Release/SDL2.lib and object H:/HD/Documernts/sdlTest/target/debug/build/sdl2-sys-128904f9eb441901/out/build/Release/SDL2.exp
SDL_string.obj : error LNK2019: unresolved external symbol memset referenced in function SDL_vsnprintf_REAL [H:\HD\Documernts\sdlTest\target\debug\build\sdl2-sys-128904f9eb441901\out\build\SDL2.vcxproj]
H:\HD\Documernts\sdlTest\target\debug\build\sdl2-sys-128904f9eb441901\out\build\Release\SDL2.dll : fatal error LNK1120: 1 unresolved externals [H:\HD\Documernts\sdlTest\target\debug\build\sdl2-sys-128904f9eb441901\out\build\SDL2.vcxproj]
I've tried with running cargo build from powershell and the VS 2019 Command prompt with no difference.
I'm retty sure I missed a step in the configuration. Any help is appreciated, thanks!
The text was updated successfully, but these errors were encountered:
Hi,
on and off for the last few months I've tried to set up sdl2 on rust. While on linux and mac it as easy as creating this Cargo.toml and running
cargo build
, on windows I fail consistently with the following error messages: error.txtThe lines that I think matter are the following:
I've tried with running
cargo build
from powershell and the VS 2019 Command prompt with no difference.I'm retty sure I missed a step in the configuration. Any help is appreciated, thanks!
The text was updated successfully, but these errors were encountered: