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

Trouble building rustyhex #123

Open
lukeschlather opened this issue Feb 13, 2016 · 2 comments
Open

Trouble building rustyhex #123

lukeschlather opened this issue Feb 13, 2016 · 2 comments

Comments

@lukeschlather
Copy link

I tried to build rustyhex, and it has a dependency on obj-rs, which has been renamed to simply obj. After updating the Cargo.toml for that, I still get this error:

$ cargo build
Updating git repository https://github.com/csherratt/obj.git
Updating git repository https://github.com/pistondevelopers/event
Unable to update https://github.com/pistondevelopers/event#58da25cf

Caused by:
failed to fetch into /home/schlathe/.cargo/git/db/event-64e6f06422add62a

It looks like event has been moved/renamed. What is the migration path here?

When I run cargo update, it complains it can't find glfw_window
$ cargo update
Updating git repository https://github.com/bjz/cgmath-rs
Updating git repository https://github.com/PistonDevelopers/glfw_window
Updating git repository https://github.com/bjz/gl-rs
Updating git repository https://github.com/dpc/hex2d-rs
Updating git repository https://github.com/pistondevelopers/piston/
Updating git repository https://github.com/gfx-rs/gfx-rs/
Updating git repository https://github.com/csherratt/obj.git
Updating git repository https://github.com/bjz/glfw-rs.git
no matching package named glfw_window found (required by rustyhex)
location searched: https://github.com/PistonDevelopers/glfw_window
version required: *

Is Rustyhex not properly declaring its dependency on glfw_window? What is the right way to do this?:

https://github.com/dpc/rustyhex/blob/master/Cargo.toml

@bvssvni
Copy link
Member

bvssvni commented Feb 13, 2016

The event crate is moved to the piston repo https://github.com/pistondevelopers/piston

@lukeschlather
Copy link
Author

Yeah, I figured that much out. Rustyhex doesn't have a direct dependency on the event crate. What I don't understand is why cargo update fails claiming it can't find glfw_window.

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

2 participants