Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build with sdl2 0.9.1 #19

Open
sophiajt opened this issue Oct 14, 2015 · 5 comments
Open

Fails to build with sdl2 0.9.1 #19

sophiajt opened this issue Oct 14, 2015 · 5 comments

Comments

@sophiajt
Copy link

When trying to build with sdl2 0.9.1 and Rust 1.3, I get this error:

Compiling sprocketnes v0.1.0 (file:///Users/jonathan/Source/sprocketnes)
src/gfx.rs:7:12: 7:23 error: unresolved import sdl2::InitBuilder. There is no InitBuilder in sdl2 [E0432]
src/gfx.rs:7 use sdl2::{InitBuilder, Sdl};
^~~~~~~~~~~
src/gfx.rs:7:12: 7:23 help: run rustc --explain E0432 to see a detailed explanation
error: aborting due to previous error
Could not compile sprocketnes.

@jonas-schievink
Copy link
Contributor

PR #18 should fix this

@MagaTailor
Copy link

On Rust 1.7 nightly, i686 linux, the error's still there apparently:

Compiling sdl2 v0.12.1
   Compiling sprocketnes v0.1.0 (file:///home/petevine/sprocketnes-master)
src/gfx.rs:7:12: 7:23 error: unresolved import `sdl2::InitBuilder`. There is no `InitBuilder` in `sdl2` [E0432]
src/gfx.rs:7 use sdl2::{InitBuilder, Sdl};

@jonas-schievink
Copy link
Contributor

@petevine That's what * dependencies do, unfortunately :(

PR #18 hasn't been merged yet, but it should at least fix the SDL problem

@MagaTailor
Copy link

Oh sorry, considering it's 2 months old I didn't check if it was still pending :)

@dbousamra
Copy link

This let me run sprocketnes for anyone who is running into overflow errors when running roms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants