Skip to content

tips: about develop debug run rcore

chyyuu edited this page Apr 30, 2019 · 3 revisions
  • kill qemu

    • killall qemu-system-x86_64
  • build usr sfsimg error

   Compiling rcore-fs-sefs v0.1.0 (https://github.com/rcore-os/rcore-fs?rev=c611248#c611248f)
error: failed to run custom build command for `fuse v0.3.1`
process didn't exit successfully: `/tmp/cargo-install4BwpDY/release/build/fuse-3c8c09219f05981e/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"fuse >= 2.6.0\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package fuse was not found in the pkg-config search path.\nPerhaps you should add the directory containing `fuse.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'fuse\' found\n" } }', src/libcore/result.rs:997:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
解决方法
sudo apt install libfuse-dev