Skip to content

Automatic SDL2 build fails on windows with bundled feature #1088

Description

@creikey

The error:

thread 'main' panicked at 'Failed to copy SDL2 dynamic library from C:\Users\camer\Documents\Tech\explain\target\debug\build\sdl2-sys-6797cdb03e082686\out\bin\SDL2.dll to C:\Users\camer\Documents\Tech\explain\target\debug\SDL2.dll: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }', C:\Users\camer\.cargo\registry\src\github.com-1ecc6299db9ec823\sdl2-sys-0.34.4\build.rs:592

My Cargo.toml:

[package]
name = "explain"
version = "0.1.0"
authors = ["Cameron Reikes <cameronreikes@gmail.com>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
sdl2 = { version = "0.34.4", features = ["bundled"] 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions