pcwalton / rust-media

A free, comprehensive, and portable video/audio streaming library for Rust
Apache License 2.0
787 stars 57 forks source link

Building example with Rust 1.6 errors because sdl2-sys #25

Closed beshrkayali closed 7 years ago

beshrkayali commented 8 years ago

Hey fellas, new rustacean here trying to use rust-media for an example project.

Running with:

$ rustc --version
rustc 1.6.0 (c30b771ad 2016-01-19)

$ cargo --version
cargo 0.8.0-nightly (8edc460 2016-01-21)

on OS X El Capitan.

Building the example fails due to:

$ cargo build
Updating git repository `https://github.com/AngryLawyer/rust-sdl2`
Unable to update https://github.com/AngryLawyer/rust-sdl2?rev=a36627dff1069e5ca6098dd3a39fbd6039794097

Caused by:
  failed to parse manifest at `/Users/beshr/.cargo/git/checkouts/rust-sdl2-aeff1349bd28b2cf/a36627dff1069e5ca6098dd3a39fbd6039794097/sdl2-sys/Cargo.toml`

Caused by:
  library target names cannot contain hyphens: sdl2-sys
jdm commented 8 years ago

Huh, that's strange. rust-sdl2 appears to be maintained, so I don't know why it wouldn't end up building.

jdm commented 8 years ago

Does anything change if you do cargo update -p sdl2?

beshrkayali commented 8 years ago

Thanks @jdm. No not really, since I don't have a Cargo.lock file. I'm running on a fresh clone.