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

Build failing with 'can't find crate for gl_generator' #4

Open
guycook opened this issue Dec 25, 2014 · 0 comments
Open

Build failing with 'can't find crate for gl_generator' #4

guycook opened this issue Dec 25, 2014 · 0 comments

Comments

@guycook
Copy link

guycook commented Dec 25, 2014

Both when trying to compile gfx-rs and then building gfx_gl by itself I am receiving the following error:

$ pwd
/home/guy/code/rust/gfx_gl

$ rustc --version
rustc 0.13.0-nightly (96a3c7c6a 2014-12-23 22:21:10 +0000)

$ cargo --version
cargo 0.0.1-pre-nightly (e11c317 2014-12-21 20:43:45 +0000)

$ cargo build --verbose
   Compiling gfx_gl v0.1.0 (file:///home/guy/code/rust/gfx_gl)
     Running `rustc build.rs --crate-name build-script-build --crate-type bin -C prefer-dynamic -g --out-dir /home/guy/code/rust/gfx_gl/target/build/gfx_gl-97b9a2a3dbbf7312 --emit=dep-info,link -L /home/guy/code/rust/gfx_gl/target -L /home/guy/code/rust/gfx_gl/target/deps`
build.rs:1:1: 1:27 error: can't find crate for `gl_generator`
build.rs:1 extern crate gl_generator;
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
Could not compile `gfx_gl`.

Caused by:
  Process didn't exit successfully: `rustc build.rs --crate-name build-script-build --crate-type bin -C prefer-dynamic -g --out-dir /home/guy/code/rust/gfx_gl/target/build/gfx_gl-97b9a2a3dbbf7312 --emit=dep-info,link -L /home/guy/code/rust/gfx_gl/target -L /home/guy/code/rust/gfx_gl/target/deps` (status=101)
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

1 participant