quadrupleslap / scrap

📸 Screen capture made easy!
https://crates.io/crates/scrap
601 stars 67 forks source link

failed to run custom build command for `scrap v0.5.0 #52

Open sdeass opened 2 months ago

sdeass commented 2 months ago

while running cargo run then show error below, please kindly help to check, many thanks

Caused by: process didn't exit successfully: /Users/**/yunshang/rustdesk/target/debug/build/scrap-2d0dfdca98b2e53d/build-script-build (exit status: 101) --- stdout cargo:rerun-if-env-changed=NO_PKG_CONFIG_libyuv cargo:info=x64-osx cargo:rustc-link-lib=static=yuv cargo:rustc-link-search=/Users//vcpkg/installed/x64-osx/lib cargo:include=/Users//vcpkg/installed/x64-osx/include cargo:rerun-if-env-changed=NO_PKG_CONFIG_libvpx cargo:info=x64-osx cargo:rustc-link-lib=static=vpx cargo:rustc-link-search=/Users//vcpkg/installed/x64-osx/lib cargo:include=/Users/qunfangshi/vcpkg/installed/x64-osx/include rerun-if-changed=/Users//yunshang/rustdesk/libs/scrap/src/bindings/vpx_ffi.h rerun-if-changed=/Users//vcpkg/installed/x64-osx/include cargo:rerun-if-env-changed=NO_PKG_CONFIG_aom cargo:info=x64-osx cargo:rustc-link-lib=static=aom cargo:rustc-link-search=/Users/qunfangshi/vcpkg/installed/x64-osx/lib cargo:include=/Users//vcpkg/installed/x64-osx/include rerun-if-changed=/Users//yunshang/rustdesk/libs/scrap/src/bindings/aom_ffi.h rerun-if-changed=/Users//vcpkg/installed/x64-osx/include

--- stderr /Users//yunshang/rustdesk/libs/scrap/src/bindings/aom_ffi.h:1:10: fatal error: 'aom/aom.h' file not found thread 'main' panicked at libs/scrap/build.rs:169:18: called Result::unwrap() on an Err value: ClangDiagnostic("/Users//yunshang/rustdesk/libs/scrap/src/bindings/aom_ffi.h:1:10: fatal error: 'aom/aom.h' file not found\n") note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

liuxb99 commented 2 months ago

me too,i have meet the same error

heydocode commented 2 months ago

Hmm, I'll see, I think I'll fork this repo with all fixes & updates, make it public and post it on all open issues (i'm not the author, the author stopped its activity and I will have to use scrap one day so why not work in it)