From a9d0ad99a80647d92c8e2d19361d383b582803b7 Mon Sep 17 00:00:00 2001 From: Michal Witek Date: Wed, 11 Jan 2023 10:25:38 +0100 Subject: [PATCH] Updated Rust build script When I tried to build Rust on my machine (I Executed "VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r22b flutter/ndk_arm64.sh" part) I found that it's missing 2 header files 'bits/wordsize.h' and 'bits/libc-header-start.h'. This should fix this issue --- content/dev/build/android/_index.en.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/dev/build/android/_index.en.md b/content/dev/build/android/_index.en.md index ef77fbd..6f1ac75 100644 --- a/content/dev/build/android/_index.en.md +++ b/content/dev/build/android/_index.en.md @@ -22,6 +22,7 @@ unzip android-ndk-r22b-linux-x86_64.zip dart pub global activate ffigen 5.0.1 # on Ubuntu 18, it is: sudo apt install libclang-9-dev sudo apt-get install libclang-dev +sudo apt install gcc-multilib git clone https://github.com/rustdesk/rustdesk cd rustdesk