Closed wfeii1980 closed 3 weeks ago
Related to newly added parameters "-DCMAKE_SYSTEM_NAME=Android" "-DCMAKE_SYSTEM_PROCESSOR=aarch64"
Recurrence method
git clone https://github.com/lerouxrgd/datachannel-rs
sed -i 's/cmake = "0.1"/cmake = "0.1.49"/g' datachannel-sys/Cargo.toml
ANDROID_NDK_HOME=~/android-ndk-r22b cargo ndk --platform 21 --target aarch64-linux-android build
Any update ?
https://github.com/rust-lang/cmake-rs/pull/186 and https://github.com/rust-lang/cmake-rs/pull/209 updated the SYSTEM_NAME and SYSTEM_PROCESSOR config for these targets. These changes are in 0.1.51.
I'll close this assuming the problem is fixed, but please open a new issue if that doesn't seem to be the case.
macos dev arm64 12.6.1 (--target x86_64-apple-darwin) android dev Debian 11 x86_64 (--target aarch64-linux-android,armv7-linux-androideabi,i686-linux-android,x86_64-linux-android)
0.1.49 error info