GithubHelp home page GithubHelp logo

Cannot build rltk on Linux about bracket-lib HOT 8 CLOSED

orzogc avatar orzogc commented on August 11, 2024 1
Cannot build rltk on Linux

from bracket-lib.

Comments (8)

ToferC avatar ToferC commented on August 11, 2024

Having the same issue with same errors here when trying to compile the first examples in the tutorial.

from bracket-lib.

thebracket avatar thebracket commented on August 11, 2024

Yikes, looks like this is quite the problem. I'll see what I can do; this might be hitting other Glutin projects that rely on that version. I can now replicate the problem locally.

from bracket-lib.

thebracket avatar thebracket commented on August 11, 2024

RLTK version 0.5.15 is now up on cargo/crates; it fixes the issue for me.

from bracket-lib.

orzogc avatar orzogc commented on August 11, 2024

It also fixes for me.

from bracket-lib.

thebracket avatar thebracket commented on August 11, 2024

I'm going to insert a "nooooo" scream here. I just started a new project with RLTK, and it looks like winit reverted some of the changes from Friday, and somehow pushed them in such a way as to have RLTK/Glutin consume them?

I'll dig some more, but I may be fixing build fails again.

from bracket-lib.

ToferC avatar ToferC commented on August 11, 2024

Yep. Getting this error now:

error[E0308]: mismatched types
  --> /home/chris/.cargo/registry/src/github.com-1ecc6299db9ec823/rltk-0.5.17/src/hal/native/mainloop.rs:62:31
   |
62 |                     wc.resize(*physical_size);
   |                               ^^^^^^^^^^^^^^ expected struct `winit::dpi::PhysicalSize`, found struct `winit::dpi::LogicalSize`
   |
   = note: expected type `winit::dpi::PhysicalSize`
              found type `winit::dpi::LogicalSize`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: could not compile `rltk`.
warning: build failed, waiting for other jobs to finish...
error: build failed

from bracket-lib.

morochena avatar morochena commented on August 11, 2024

Updating to 0.5.17 fixed this for me.

from bracket-lib.

thebracket avatar thebracket commented on August 11, 2024

Awesome. Thanks!

from bracket-lib.

Related Issues (20)

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.