mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-02 19:26:56 -05:00
macos build android fail #2654
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#2654
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 @tanzhh-bingosoft on GitHub (Apr 28, 2024).
Bug Description
error: failed to run custom build command for
scrap v0.5.0 (/Users/tanzhihui/rustdesk/libs/scrap)Caused by:
process didn't exit successfully:
/Users/tanzhihui/rustdesk/target/release/build/scrap-20fb58f4526295ef/build-script-build(exit status: 101)--- stdout
cargo:rerun-if-env-changed=NO_PKG_CONFIG_libyuv
cargo:info=arm64-android
cargo:rustc-link-lib=static=yuv
cargo:rustc-link-search=/Users/tanzhihui/Develop/vcpkg/installed/arm64-android/lib
cargo:include=/Users/tanzhihui/Develop/vcpkg/installed/arm64-android/include
cargo:rerun-if-env-changed=NO_PKG_CONFIG_libvpx
cargo:info=arm64-android
cargo:rustc-link-lib=static=vpx
cargo:rustc-link-search=/Users/tanzhihui/Develop/vcpkg/installed/arm64-android/lib
cargo:include=/Users/tanzhihui/Develop/vcpkg/installed/arm64-android/include
rerun-if-changed=/Users/tanzhihui/rustdesk/libs/scrap/src/bindings/vpx_ffi.h
rerun-if-changed=/Users/tanzhihui/Develop/vcpkg/installed/arm64-android/include
--- stderr
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/inttypes.h:21:15: fatal error: 'inttypes.h' file not found
thread 'main' panicked at libs/scrap/build.rs:169:18:
called
Result::unwrap()on anErrvalue: ClangDiagnostic("/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/inttypes.h:21:15: fatal error: 'inttypes.h' file not found\n")note: run with
RUST_BACKTRACE=1environment variable to display a backtracewarning: build failed, waiting for other jobs to finish...
note: If the build failed due to a missing target, you can run this command:
note:
note: rustup target install aarch64-linux-android
How to Reproduce
The preceding error is reported when the./flutter/ndk_arm64.sh command is executed
Expected Behavior
Build success.
Operating system(s) on local side and remote side
macos
RustDesk Version(s) on local side and remote side
1.2.3-2
Screenshots
none
Additional Context
No response
@rustdesk commented on GitHub (Apr 28, 2024):
#763