Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sdeass opened this issue Aug 15, 2024 · 2 comments
Open

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

sdeass opened this issue Aug 15, 2024 · 2 comments

Comments

@sdeass
Copy link

sdeass commented Aug 15, 2024

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
Copy link

liuxb99 commented Aug 24, 2024

me too,i have meet the same error

@heydocode
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants