diff --git a/content/dev/build/armhf/_index.de.md b/content/dev/build/armhf/_index.de.md new file mode 100644 index 0000000..064c46d --- /dev/null +++ b/content/dev/build/armhf/_index.de.md @@ -0,0 +1,6 @@ +--- +title: armhf +weight: 24 +--- + +[English](/docs/en/dev/build/armhf) \ No newline at end of file diff --git a/content/dev/build/armhf/_index.en.md b/content/dev/build/armhf/_index.en.md new file mode 100644 index 0000000..fb4d09f --- /dev/null +++ b/content/dev/build/armhf/_index.en.md @@ -0,0 +1,73 @@ +--- +title: armhf +weight: 24 +--- + +# This tutorial is contributed by [@wwjabc](https://github.com/wwjabc) + +https://github.com/rustdesk/rustdesk/issues/175#issuecomment-1129516367 + +## Basic build steps +- Download [ubuntu18.04_rootfs.tar.gz](https://pan.baidu.com/s/1pmjw7OBn5NbiCvM6GGaEgQ), extraction code: xlnx (I tried several versions of ubuntu system, only on this one succeeded, compiled executable file can be used under other armhf systems.) +- Download and compile [cmake-3.14.5](https://cmake.org/files/v3.14/cmake-3.14.5.tar.gz), compilation [Reference Tutorial](https://blog.csdn.net/weixin_43793181/article/details/118157012). The cmake version that comes with the system is 3.10.2, compiling [vcpkg-2020.11](https://github.com/microsoft/vcpkg/archive/refs/tags/2020.11.tar.gz ) will report that the version is too low. + - Compile on the board (I failed to build the qemu virtual machine successfully) + +- Install [vcpkg](https://github.com/microsoft/vcpkg), set the `VCPKG_ROOT` environment variable correctly. It is recommended to download [vcpkg-2020.11](https://github.com/microsoft/vcpkg/archive/refs/tags/2020.11.tar.gz), I am using this version for the time being. + + - Linux: vcpkg install libyuv + - [libvpx](https://pan.baidu.com/s/1fgi0PzOrT4VpL6p3MY-IVA) Extraction code: xlnx (manual installation) + - [opus](https://pan.baidu.com/s/1fxQayZ7FGq-Z0bn_pjBVfQ) Extraction code: xlnx (manual installation) + +- Run `cargo run` + +## Compile on armhf + +### Install Ubuntu 18.04 to SD card + +````sh +sudo tar zxmf ./ubuntu18.04_rootfs.tar.gz -C /your sd path/rootfs/ +#Username (usrname): xilinx +#passwd: xilinx +```` + +### Install cmake +````sh +tar -xzvf cmake-3.14.5.tar.gz +cd cmake-3.14.5/ +#These two steps may take a long time, enter them in turn +./bootstrap +make -j4 +sudo make install +```` +````sh +root@pynq:~/cmake-3.14.5# ./bootstrap +--------------------------------------------- +CMake 3.14.5, Copyright 2000-2019 Kitware, Inc. and Contributors +Found GNU toolchain +C compiler on this system is: gcc +C++ compiler on this system is: g++ +Makefile processor on this system is: make +g++ has setenv +g++ has unsetenv +g++ does not have environ in stdlib.h +g++ has stl wstring +g++ has +--------------------------------------------- +```` +### Install dependencies + +````sh +sudo apt install -y g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev +```` + +### Install vcpkg + +````sh +git clone https://github.com/microsoft/vcpkg +cd vcpkg +git checkout 2024.12.01 +cd.. +vcpkg/bootstrap-vcpkg.sh +export VCPKG_ROOT=$HOME/vcpkg +vcpkg/vcpkg install libyuv +```` diff --git a/content/dev/build/armhf/_index.fr.md b/content/dev/build/armhf/_index.fr.md new file mode 100644 index 0000000..064c46d --- /dev/null +++ b/content/dev/build/armhf/_index.fr.md @@ -0,0 +1,6 @@ +--- +title: armhf +weight: 24 +--- + +[English](/docs/en/dev/build/armhf) \ No newline at end of file diff --git a/content/dev/build/armhf/_index.it.md b/content/dev/build/armhf/_index.it.md new file mode 100644 index 0000000..064c46d --- /dev/null +++ b/content/dev/build/armhf/_index.it.md @@ -0,0 +1,6 @@ +--- +title: armhf +weight: 24 +--- + +[English](/docs/en/dev/build/armhf) \ No newline at end of file diff --git a/content/dev/build/armhf/_index.ja.md b/content/dev/build/armhf/_index.ja.md new file mode 100644 index 0000000..064c46d --- /dev/null +++ b/content/dev/build/armhf/_index.ja.md @@ -0,0 +1,6 @@ +--- +title: armhf +weight: 24 +--- + +[English](/docs/en/dev/build/armhf) \ No newline at end of file diff --git a/content/dev/build/armhf/_index.pt.md b/content/dev/build/armhf/_index.pt.md new file mode 100644 index 0000000..064c46d --- /dev/null +++ b/content/dev/build/armhf/_index.pt.md @@ -0,0 +1,6 @@ +--- +title: armhf +weight: 24 +--- + +[English](/docs/en/dev/build/armhf) \ No newline at end of file diff --git a/content/dev/build/armhf/_index.ru.md b/content/dev/build/armhf/_index.ru.md new file mode 100644 index 0000000..064c46d --- /dev/null +++ b/content/dev/build/armhf/_index.ru.md @@ -0,0 +1,6 @@ +--- +title: armhf +weight: 24 +--- + +[English](/docs/en/dev/build/armhf) \ No newline at end of file diff --git a/content/dev/build/armhf/_index.zh-cn.md b/content/dev/build/armhf/_index.zh-cn.md index 72c96f4..18084da 100644 --- a/content/dev/build/armhf/_index.zh-cn.md +++ b/content/dev/build/armhf/_index.zh-cn.md @@ -1,20 +1,18 @@ --- title: armhf -weight: 11 +weight: 24 --- -## 依赖 +# 本教材由[@wwjabc](https://github.com/wwjabc)贡献提供 -桌面版本界面使用[sciter](https://sciter.com/), 请自行下载。(sciter暂不支持armhf) - -[Linux](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.lnx/x64/libsciter-gtk.so) +https://github.com/rustdesk/rustdesk/issues/175#issuecomment-1129516367 ## 基本构建步骤 - 下载[ubuntu18.04_rootfs.tar.gz](https://pan.baidu.com/s/1pmjw7OBn5NbiCvM6GGaEgQ) 提取码:xlnx (我试了好几个版本的ubuntu系统,只有在这个上面成功了,编译好的可执行文件是可以在其他armhf系统下面用的。) - 下载编译[cmake-3.14.5](https://cmake.org/files/v3.14/cmake-3.14.5.tar.gz) 编译[参考教程](https://blog.csdn.net/weixin_43793181/article/details/118157012) 系统自带的cmake版本为3.10.2,编译[vcpkg-2020.11](https://github.com/microsoft/vcpkg/archive/refs/tags/2020.11.tar.gz)时会报版本过低 - 在板编译(qemu虚拟机我没搭建成功) -- 安装[vcpkg](https://github.com/microsoft/vcpkg), 正确设置`VCPKG_ROOT`环境变量 建议下载[vcpkg-2020.11](https://github.com/microsoft/vcpkg/archive/refs/tags/2020.11.tar.gz),我暂时用的是这个版本 +- 安装[vcpkg](https://github.com/microsoft/vcpkg), 正确设置`VCPKG_ROOT`环境变量。建议下载[vcpkg-2020.11](https://github.com/microsoft/vcpkg/archive/refs/tags/2020.11.tar.gz),我暂时用的是这个版本 - Linux: vcpkg install libyuv - [libvpx](https://pan.baidu.com/s/1fgi0PzOrT4VpL6p3MY-IVA) 提取码:xlnx (手动安装) @@ -67,7 +65,7 @@ sudo apt install -y g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-ra ```sh git clone https://github.com/microsoft/vcpkg cd vcpkg -git checkout 2021.12.01 +git checkout 2024.12.01 cd .. vcpkg/bootstrap-vcpkg.sh export VCPKG_ROOT=$HOME/vcpkg diff --git a/content/dev/build/armhf/_index.zh-tw.md b/content/dev/build/armhf/_index.zh-tw.md new file mode 100644 index 0000000..10357f3 --- /dev/null +++ b/content/dev/build/armhf/_index.zh-tw.md @@ -0,0 +1,73 @@ +--- +title: armhf +weight: 24 +--- + +# 本教材由[@wwjabc](https://github.com/wwjabc)貢獻提供 + +https://github.com/rustdesk/rustdesk/issues/175#issuecomment-1129516367 + +## 基本構建步驟 +- 下載[ubuntu18.04_rootfs.tar.gz](https://pan.baidu.com/s/1pmjw7OBn5NbiCvM6GGaEgQ) 提取碼:xlnx (我試了好幾個版本的ubuntu系統,只有在這個上面成功了,編譯好的可執行文件是可以在其他armhf系統下面用的。) +- 下載編譯[cmake-3.14.5](https://cmake.org/files/v3.14/cmake-3.14.5.tar.gz) 編譯[參考教程](https://blog.csdn.net/weixin_43793181/article/details/118157012) 系統自帶的cmake版本為3.10.2,編譯[vcpkg-2020.11](https://github.com/microsoft/vcpkg/archive/refs/tags/2020.11.tar.gz)時會報版本過低 + - 在板編譯(qemu虛擬機我沒搭建成功) + +- 安裝[vcpkg](https://github.com/microsoft/vcpkg), 正確設置`VCPKG_ROOT`環境變量。建議下載[vcpkg-2020.11](https://github.com/microsoft/vcpkg/archive/refs/tags/2020.11.tar.gz),我暫時用的是這個版本 + + - Linux: vcpkg install libyuv + - [libvpx](https://pan.baidu.com/s/1fgi0PzOrT4VpL6p3MY-IVA) 提取碼:xlnx (手動安裝) + - [opus](https://pan.baidu.com/s/1fxQayZ7FGq-Z0bn_pjBVfQ) 提取碼:xlnx (手動安裝) + +- 運行 `cargo run` + +## 在 armhf 上編譯 + +### 安裝Ubuntu 18.04到SD卡 + +```sh +sudo tar zxmf ./ubuntu18.04_rootfs.tar.gz -C /your sd path/rootfs/ +#用戶名(usrname):xilinx +#密碼(passwd):xilinx +``` + +### 安裝cmake +```sh +tar -xzvf cmake-3.14.5.tar.gz +cd cmake-3.14.5/ +#這兩步可能需要很長時間,依次輸入 +./bootstrap +make -j4 +sudo make install +``` +```sh +root@pynq:~/cmake-3.14.5# ./bootstrap +--------------------------------------------- +CMake 3.14.5, Copyright 2000-2019 Kitware, Inc. and Contributors +Found GNU toolchain +C compiler on this system is: gcc +C++ compiler on this system is: g++ +Makefile processor on this system is: make +g++ has setenv +g++ has unsetenv +g++ does not have environ in stdlib.h +g++ has stl wstring +g++ has +--------------------------------------------- +``` +### 安裝依賴項 + +```sh +sudo apt install -y g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev +``` + +### 安裝 vcpkg + +```sh +git clone https://github.com/microsoft/vcpkg +cd vcpkg +git checkout 2024.12.01 +cd .. +vcpkg/bootstrap-vcpkg.sh +export VCPKG_ROOT=$HOME/vcpkg +vcpkg/vcpkg install libyuv +``` \ No newline at end of file diff --git a/content/self-host/install/_index.ru.md b/content/self-host/install/_index.ru.md index 2af45ee..33b8e3b 100644 --- a/content/self-host/install/_index.ru.md +++ b/content/self-host/install/_index.ru.md @@ -111,7 +111,7 @@ hbbs.yourhost.com:21116 Замените `rustdesk.exe` на rustdesk-`host=,key=<строка-открытого-ключа>`.exe, например: rustdesk-`host=192.168.1.137,key=xfdsfsd32 =32`.exe, вы можете увидеть результат настройки в окне «О программе», как показано ниже. {{% notice note %}} -Необходимо добавить и host, и key, а использовать их без них непросто. +Необходимо добавить и `host`, и `key`, а использовать их без них непросто. {{% /notice %}} |Меню |О странице |