Git Product home page Git Product logo

rust-sudoku's Issues

build fails under rust 1.1.0

maybe it's due to a mismatched piston version? The cargo.toml just says "*"

src/main.rs:10:5: 10:22 error: unresolved import `piston::event::*`. Could not find `event` in `piston`
src/main.rs:10 use piston::event::*;
                   ^~~~~~~~~~~~~~~~~
src/app.rs:5:5: 5:22 error: unresolved import `piston::event::*`. Could not find `event` in `piston`
src/app.rs:5 use piston::event::*;
                 ^~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
Could not compile `rust-sudoku`.

Missing cargo.lock

I tried compiling this today, and I got this error:

src\app.rs:37:13: 37:18 error: the trait bound `opengl_graphics::GlGraphics: graphics::Graphics` is not satisfied [E0277]
src\app.rs:37             clear([1.0; 4], g);
                          ^~~~~
src\app.rs:37:13: 37:18 help: run `rustc --explain E0277` to see a detailed explanation
src\app.rs:37:13: 37:18 note: required by `graphics::clear`

and several others. I think this might be solved if you add cargo.lock to the git repo. It seems that more recent versions of piston libraries have come out, and the * operator automatically picked up conflicting versions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.