When I run cargo tauri dev on my project, I got this error.
Compiling mupdf-sys v0.4.2
error: failed to run custom build command for `mupdf-sys v0.4.2`
Caused by:
process didn't exit successfully: `C:\Users\kusaanko\***\target\debug\build\mupdf-sys-9e5eebcec878fe08\build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Build error:
STDERR:
STDOUT:', C:\Users\kusaanko\.cargo\registry\src\index.crates.io-6f17d22bba15001f\mupdf-sys-0.4.2\build.rs:330:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
When I run
cargo tauri dev
on my project, I got this error.I found some font files are lost, so I put
resources/fonts
on https://github.com/ArtifexSoftware/mupdf inmupdf-sys-0.4.2/src
. Then, I can runcargo tauri dev
.And I found these font files are excluded in
Cargo.toml
When I build libresources using Visual Studio 2022, I got this error(sorry for Japanese)
I can compile mupdf-rs on macOS without any changes.