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

examples builds are not passing #111

Closed
viperscape opened this issue Dec 2, 2014 · 5 comments

Comments

@viperscape
Copy link

commented Dec 2, 2014

looking at the travis build confirms this. an example of the issue:

[deform]$ cargo run
   Compiling deform v0.0.1 (file:///mnt/Projects/piston-examples/deform)
src/main.rs:17:5: 17:14 error: unresolved import `graphics::AddBorder`. There is no `AddBorder` in `graphics`
src/main.rs:17     AddBorder,
                   ^~~~~~~~~
src/main.rs:18:5: 18:15 error: unresolved import `graphics::AddEllipse`. There is no `AddEllipse` in `graphics`
src/main.rs:18     AddEllipse,
                   ^~~~~~~~~~
src/main.rs:19:5: 19:17 error: unresolved import `graphics::AddRectangle`. There is no `AddRectangle` in `graphics`
src/main.rs:19     AddRectangle,
                   ^~~~~~~~~~~~
src/main.rs:20:5: 20:13 error: unresolved import `graphics::AddColor`. There is no `AddColor` in `graphics`
src/main.rs:20     AddColor,
                   ^~~~~~~~
src/main.rs:21:5: 21:9 error: unresolved import `graphics::Draw`. There is no `Draw` in `graphics`
src/main.rs:21     Draw,
                   ^~~~
error: aborting due to 5 previous errors
Could not compile `deform`.
@viperscape

This comment has been minimized.

Copy link
Author

commented Dec 2, 2014

I just wiped and recloned master, I see it's refering to newdesign branch tho:
Compiling graphics v0.0.0 (https://github.com/pistondevelopers/graphics?ref=newdesign#62142949)

[Projects]$ git clone https://github.com/PistonDevelopers/piston-examples.git
Cloning into 'piston-examples'...
remote: Counting objects: 793, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 793 (delta 6), reused 0 (delta 0)
Receiving objects: 100% (793/793), 2.12 MiB | 1.66 MiB/s, done.
Resolving deltas: 100% (415/415), done.
Checking connectivity... done.
[Projects]$ cd piston-examples/
[piston-examples]$ cd deform/
[deform]$ cargo build
    Updating git repository `https://github.com/PistonDevelopers/drag_controller.git`
    Updating git repository `https://github.com/pistondevelopers/opengl_graphics`
    Updating git repository `https://github.com/pistondevelopers/sdl2_window`
    Updating git repository `https://github.com/pistondevelopers/event`
    Updating git repository `https://github.com/PistonDevelopers/window`
    Updating git repository `https://github.com/PistonDevelopers/input`
    Updating git repository `https://github.com/PistonDevelopers/current`
    Updating git repository `https://github.com/PistonDevelopers/event_loop`
    Updating git repository `https://github.com/rust-lang/time`
    Updating git repository `https://github.com/alexcrichton/gcc-rs`
    Updating git repository `https://github.com/pistondevelopers/shader_version`
    Updating git repository `https://github.com/pistondevelopers/texture`
    Updating git repository `https://github.com/pistondevelopers/graphics`
    Updating git repository `https://github.com/PistonDevelopers/freetype-rs.git`
    Updating git repository `https://github.com/bjz/gl-rs`
    Updating git repository `https://github.com/pistondevelopers/image`
    Updating git repository `https://github.com/PistonDevelopers/read_color`
    Updating git repository `https://github.com/PistonDevelopers/vecmath`
    Updating git repository `https://github.com/netvl/rust-xml`
    Updating git repository `https://github.com/AngryLawyer/rust-sdl2`
   Compiling gcc v0.1.0 (https://github.com/alexcrichton/gcc-rs#d32b2446)
   Compiling image v0.2.0-alpha.2 (https://github.com/pistondevelopers/image#a48cd66d)
   Compiling rust-xml v0.1.2-pre (https://github.com/netvl/rust-xml#2d9df326)
   Compiling sdl2 v0.0.6 (https://github.com/AngryLawyer/rust-sdl2#9e935dcb)
   Compiling read_color v0.0.1 (https://github.com/PistonDevelopers/read_color#c563f9f0)
   Compiling gl_common v0.0.1 (https://github.com/bjz/gl-rs#41fa9cb1)
   Compiling vecmath v0.0.0 (https://github.com/PistonDevelopers/vecmath#f6fc0102)
   Compiling freetype-rs v0.0.0 (https://github.com/PistonDevelopers/freetype-rs.git#3f014f4a)
   Compiling texture v0.0.0 (https://github.com/pistondevelopers/texture#65e7bbd5)
   Compiling current v0.0.0 (https://github.com/PistonDevelopers/current#ad63ba6a)
   Compiling input v0.0.0 (https://github.com/PistonDevelopers/input#fb351501)
   Compiling shader_version v0.0.0 (https://github.com/pistondevelopers/shader_version#32364088)
   Compiling khronos_api v0.0.2 (https://github.com/bjz/gl-rs#41fa9cb1)
   Compiling graphics v0.0.0 (https://github.com/pistondevelopers/graphics?ref=newdesign#62142949)
   Compiling time v0.1.0 (https://github.com/rust-lang/time#afab521f)
   Compiling event_loop v0.0.0 (https://github.com/PistonDevelopers/event_loop#b2a47dd1)
   Compiling window v0.0.0 (https://github.com/PistonDevelopers/window#888aeccd)
   Compiling event v0.0.0 (https://github.com/pistondevelopers/event#1e53b9ec)
   Compiling gl_generator v0.0.1 (https://github.com/bjz/gl-rs#41fa9cb1)
   Compiling drag_controller v0.0.0 (https://github.com/PistonDevelopers/drag_controller.git#a797ac06)
   Compiling gl v0.0.1 (https://github.com/bjz/gl-rs#41fa9cb1)
   Compiling opengl_graphics v0.0.0 (https://github.com/pistondevelopers/opengl_graphics#d4e590de)
   Compiling sdl2_window v0.0.0 (https://github.com/pistondevelopers/sdl2_window#3be09560)
   Compiling deform v0.0.1 (file:///mnt/Projects/piston-examples/deform)
src/main.rs:17:5: 17:14 error: unresolved import `graphics::AddBorder`. There is no `AddBorder` in `graphics`
src/main.rs:17     AddBorder,
                   ^~~~~~~~~
src/main.rs:18:5: 18:15 error: unresolved import `graphics::AddEllipse`. There is no `AddEllipse` in `graphics`
src/main.rs:18     AddEllipse,
                   ^~~~~~~~~~
src/main.rs:19:5: 19:17 error: unresolved import `graphics::AddRectangle`. There is no `AddRectangle` in `graphics`
src/main.rs:19     AddRectangle,
                   ^~~~~~~~~~~~
src/main.rs:20:5: 20:13 error: unresolved import `graphics::AddColor`. There is no `AddColor` in `graphics`
src/main.rs:20     AddColor,
                   ^~~~~~~~
src/main.rs:21:5: 21:9 error: unresolved import `graphics::Draw`. There is no `Draw` in `graphics`
src/main.rs:21     Draw,
                   ^~~~
error: aborting due to 5 previous errors
Could not compile `deform`.

To learn more, run the command again with --verbose.
@bvssvni

This comment has been minimized.

Copy link
Member

commented Dec 2, 2014

The intention is to override piston-graphics locally and point it to the "newdesign" branch and push the changes to the corresponding "newdesign" brancher per repo. This only works by overriding, but it will make it possible to test the new design.

See PistonDevelopers/graphics#756

@viperscape

This comment has been minimized.

Copy link
Author

commented Dec 11, 2014

I know piston is in flux, but wanted to point out that I am still unable to build examples (travis did not report the same errors I am getting).

no package named `sdl2_window` found (required by `cube`)
location searched: https://github.com/pistondevelopers/sdl2_window
version required: *
@bvssvni

This comment has been minimized.

Copy link
Member

commented Dec 11, 2014

@bvssvni

This comment has been minimized.

Copy link
Member

commented Dec 25, 2014

I'll close this since the cause of not working is different now.

@bvssvni bvssvni closed this Dec 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.