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

Fix build #23

Open
virtualritz opened this issue May 18, 2018 · 1 comment
Open

Fix build #23

virtualritz opened this issue May 18, 2018 · 1 comment

Comments

@virtualritz
Copy link

virtualritz commented May 18, 2018

$ cargo build
    Updating git repository `https://github.com/bjz/cgmath-rs`
    Updating git repository `https://github.com/gfx-rs/gfx-rs/`
    Updating git repository `https://github.com/bjz/gl-rs`
error: failed to load source for a dependency on `gl`

Caused by:
  Unable to update https://github.com/bjz/gl-rs#79cd3b3f

Caused by:
  failed to update submodule `deps/khronos-api`

Caused by:
  object not found - no match for id (26330994c92f93330adef22cf0562a2700256689); class=Odb (9); code=NotFound (-3)
@rmNyro
Copy link

rmNyro commented Apr 19, 2019

Try removing the Cargo.lock file, it worked for me.

After that some dependencies are broken so here is the new working Cargo.toml file :

[package]

name = "rustyhex"
version = "0.0.3"
authors = [ "[email protected]" ]

[[bin]]
name = "rustyhex"
path = "src/main.rs"


[dependencies.piston]
git = "https://github.com/pistondevelopers/piston/"

[dependencies.gfx]
# - New deprecated repo
git = "https://github.com/gfx-rs/gfx"
# - You need to specify the branch before the changes
branch = "pre-ll"
# - Old removed repo
# git = "https://github.com/gfx-rs/gfx-rs/"

[dependencies.gl]
git = "https://github.com/bjz/gl-rs"

[dev_dependencies.glfw]
git = "https://github.com/bjz/glfw-rs.git"

# - Seems that this dep has been merged into piston lib
# [dependencies.glfw_window]
# git = "https://github.com/PistonDevelopers/glfw_window"

[dependencies.cgmath]
git = "https://github.com/bjz/cgmath-rs"

[dependencies.hex2d]
git = "https://github.com/dpc/hex2d-rs"

[dependencies.obj-rs]
# - New working repo
git = "https://github.com/simnalamburt/obj-rs"
# - Old now non existent repo
# git = "https://github.com/csherratt/obj-rs.git"

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