Relm4 / icons

Icons for your Relm4 application
Apache License 2.0
13 stars 5 forks source link

error: failed to run custom build command for `relm4-icons v0.8.2` #14

Open lewisHeart opened 6 months ago

lewisHeart commented 6 months ago

on cargo run return this error

error: failed to run custom build command for `relm4-icons v0.8.2`

Caused by:
  process didn't exit successfully: `/home/user/dev/program/target/debug/build/relm4-icons-b8881cef220bc5e9/build-script-build` (exit status:
 101)
  --- stderr
  Canonical manifest dir: "/home/user/dev/program/target/debug/build/relm4-icons-38946ca3132a2567/out"
  thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/relm4-icons-0.8.2/build.rs:75:36:
  called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
AaronErhardt commented 6 months ago

Do you have an icons.toml file next to your Cargo.toml?

matejvrba commented 5 months ago

Just had the same issue, adding empty icons.toml fixed it.

I'm willing to fix this, but I need to know if you want build.rs to ignore the missing file or create empty icons.toml file

hwittenborn commented 5 months ago

This should now be fixed from #16 (at least the error message part, if that was the source of problems in the original issue).