Hi
To start with I'm absolute beginer.
I was trying to build a nintendo emulator from github and I got following error:
src/gfx.rs:7:12: 7:23 error: unresolved import `sdl2::InitBuilder`. There is no `InitBuilder` in `sdl2`
src/gfx.rs:7 use sdl2::{InitBuilder, Sdl};
^~~~~~~~~~~
error: aborting due to previous error
Could not compile `sprocketnes`.
Apparently, the SDL2 crate has released a breaking change, and since sprocketnes' Cargo.toml says * for the version, it's picking up the breaking change and, well, breaking.
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 2, message: "No such file or directory" } }', ../src/libcore/result.rs:731
Am I'm doing something wrong (as I'm nearly sure I'm) or is this because another breaking change somewhere ?