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
thread 'main' panicked at 'Failed to copy SDL2 dynamic library from /home/roman/projects/rust-sdl2/target/x86_64-pc-windows-gnu/debug/build/sdl2-sys-2fe96c8cb332ea97/out/bin/sdl2.dll to /home/roman/projects/rust-sdl2/target/x86_64-pc-windows-gnu/debug/sdl2.dll: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:997:5
But there is SDL2.dll file:
$ file target/x86_64-pc-windows-gnu/debug/build/sdl2-sys-2fe96c8cb332ea97/out/bin/SDL2.dll
target/x86_64-pc-windows-gnu/debug/build/sdl2-sys-2fe96c8cb332ea97/out/bin/SDL2.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows
To use bundled I have modified Cargo.toml:
[dependencies.sdl2-sys]
path = "sdl2-sys"
version = "^0.32"
features = ["bundled"]
The text was updated successfully, but these errors were encountered:
But there is
SDL2.dll
file:To use
bundled
I have modifiedCargo.toml
:The text was updated successfully, but these errors were encountered: