Skip to content

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

@sdeass

Description

@sdeass

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions