mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
Apple M1Pro, cargo run failed, fatal error: 'vpx/vp8.h' file not found #786
Labels
No labels
bug
documentation
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
question
unreproducible
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rustdesk-rustdesk#786
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @songwei163 on GitHub (Sep 15, 2022).
this is my computer:
MacbookPro 14
Apple M1 Pro
When I follow this documentation,https://rustdesk.com/docs/en/dev/build/osx/, I Found some errors when cargo run
Here is details.
error: failed to run custom build command for
scrap v0.5.0 (/Users/songwei/work/rustdesk/libs/scrap)Caused by:
process didn't exit successfully:
/Users/songwei/work/rustdesk/target/debug/build/scrap-5b4b8530a1319865/build-script-build(exit status: 101)--- stdout
cargo:info=x64-osx
cargo:rustc-link-lib=static=yuv
cargo:rustc-link-search=/Users/songwei/vcpkg/installed/x64-osx/lib
cargo:include=/Users/songwei/vcpkg/installed/x64-osx/include
cargo:info=x64-osx
cargo:rustc-link-lib=static=vpx
cargo:rustc-link-search=/Users/songwei/vcpkg/installed/x64-osx/lib
cargo:include=/Users/songwei/vcpkg/installed/x64-osx/include
rerun-if-changed=/Users/songwei/work/rustdesk/libs/scrap/vpx_ffi.h
rerun-if-changed=/Users/songwei/vcpkg/installed/x64-osx/include
--- stderr
/Users/songwei/work/rustdesk/libs/scrap/vpx_ffi.h:1:10: fatal error: 'vpx/vp8.h' file not found
/Users/songwei/work/rustdesk/libs/scrap/vpx_ffi.h:1:10: fatal error: 'vpx/vp8.h' file not found, err: true
thread 'main' panicked at 'called
Result::unwrap()on anErrvalue: ()', libs/scrap/build.rs:128:18note: run with
RUST_BACKTRACE=1environment variable to display a backtrace@rustdesk commented on GitHub (Sep 15, 2022):
#763