baskerville / plato

Document reader
Other
1.25k stars 103 forks source link

compile error on arch linux #297

Closed soloturn closed 1 year ago

soloturn commented 1 year ago

am trying to build plato, branch master, on arch linux and get:

❯ CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cargo build --release
   Compiling plato-core v0.9.36 (/run/media/rt/4tb-home/1tb-no-space/src/plato/crates/core)
error[E0425]: cannot find value `_binary_resources_fonts_noto_NotoNaskhArabic_Regular_ttf_start` in this scope
   --> crates/core/src/font/mod.rs:767:30
    |
261 |     pub static _binary_resources_fonts_noto_NotoNaskhArabic_Regular_otf_start: [libc::c_uchar; 119664];
    |     --------------------------------------------------------------------------------------------------- similarly named static `_binary_resources_fonts_noto_NotoNaskhArabic_Regular_otf_start` defined here
...
767 |         HB_SCRIPT_ARABIC => &_binary_resources_fonts_noto_NotoNaskhArabic_Regular_ttf_start,
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a static with a similar name exists: `_binary_resources_fonts_noto_NotoNaskhArabic_Regular_otf_start`

For more information about this error, try `rustc --explain E0425`.
error: could not compile `plato-core` (lib) due to previous error

what can i do to debug further what this is?