doc.rustdesk.com
doc.rustdesk.com copied to clipboard
Compiling the iOS version, executing . /flutter/ios_x64.sh with error
I followed the iOS compilation tutorial on the official website and used the virtual machine mac OS to compile, but I encountered the following error when executing the VCPKG_ROOT=$HOME/vcpkg . /flutter/ios_x64.sh command and encountered the following error, this should be how to solve it?
--- stderr
thread 'main' panicked at /Users/cliang/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.61.0/ir/context.rs:859:9:
"aom_codec_ctx_union_(unnamed_at_/usr/local/include/aom/aom_codec_h_304_3)" is not a valid Ident
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Already tried updating aom, updating bindgen, still the same error.
Environment:
- macOS Sonoma 14.2.1 x64 (VMware)
- rustc 1.74.1 (a28077b28 2023-12-04)
MacBook-Pro rustdesk % git rev-parse HEAD
9a652e789d69363e035408c1f932f1484771ce08
- aom 3.8.0
- aom-sys = "0.3.2"
- bindgen = "0.69.1"
Please let me know if you need more information from me.