Giter Club home page Giter Club logo

Comments (7)

binarica avatar binarica commented on May 18, 2024 2

Installing libfontconfig-dev solved the issue for me (Ubuntu 22.04).

from runty8.

jjant avatar jjant commented on May 18, 2024 1

@Asterisk-z I've fixed that error (and the warnings 😄) in the latest commit in master. Please give it another try.

from runty8.

Asterisk-z avatar Asterisk-z commented on May 18, 2024 1

Yeah
It works now

from runty8.

jjant avatar jjant commented on May 18, 2024

Hi @Asterisk-z, I've never ran into that issue, have you seen these SO answers: #1, #2?

from runty8.

Asterisk-z avatar Asterisk-z commented on May 18, 2024

thanks @binarica
libfontconfig-dev worked on mine too

from runty8.

Asterisk-z avatar Asterisk-z commented on May 18, 2024

Now i am getting this when i run cargo run --bin confetti

warning: associated function is never used: `fset_all`
  --> src/runtime/flags.rs:57:12
   |
57 |     pub fn fset_all(&mut self, sprite: usize, flags: u8) -> u8 {
   |            ^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: function is never used: `spr`
   --> src/editor.rs:824:4
    |
824 | fn spr<'a>(sprite: usize, x: i32, y: i32) -> impl Into<Element<'a, Msg>> {
    |    ^^^

warning: `runty8` (lib) generated 2 warnings
   Compiling runty8 v0.1.0 (/home/asterisks/projects/learn/Rust/github_project/runty8)
    Finished dev [unoptimized + debuginfo] target(s) in 14.60s
     Running `target/debug/confetti`
Couldn't create assets directory: ``.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/bin/confetti.rs:5:48
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

from runty8.

jjant avatar jjant commented on May 18, 2024

Fixed in bee0a5b.

from runty8.

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.