fix style

This commit is contained in:
rustdesk
2025-06-15 03:53:23 +08:00
parent 3b90f48e24
commit 3d60e0f5e2
299 changed files with 2108 additions and 2134 deletions

View File

@@ -7,7 +7,7 @@ weight: 24
https://github.com/rustdesk/rustdesk/issues/175#issuecomment-1129516367
## 基本构建步骤
# 基本构建步骤
- 下载[ubuntu18.04_rootfs.tar.gz](https://pan.baidu.com/s/1pmjw7OBn5NbiCvM6GGaEgQ) 提取码xlnx (我试了好几个版本的ubuntu系统只有在这个上面成功了编译好的可执行文件是可以在其他armhf系统下面用的。PS如果你不放心系统来源你也可以基于本教程在你的系统中编译如果成功了记得提交方案来取代本教程。)
- [PYNQ官方资源](http://www.pynq.io)|[PYNQ-github](https://github.com/Xilinx/PYNQ)|[ubuntu](https://ubuntu.com/blog/microk8s-memory-optimisation)
- 下载编译[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)时会报版本过低
@@ -21,9 +21,9 @@ https://github.com/rustdesk/rustdesk/issues/175#issuecomment-1129516367
- 编译 `cargo build --release`
## 在 armhf 上编译
# 在 armhf 上编译
### 安装Ubuntu 18.04到SD卡
## 安装Ubuntu 18.04到SD卡
```sh
sudo tar zxmf ./ubuntu18.04_rootfs.tar.gz -C /your sd path/rootfs/
@@ -31,7 +31,7 @@ sudo tar zxmf ./ubuntu18.04_rootfs.tar.gz -C /your sd path/rootfs/
#密码(passwd)xilinx
```
### 安装cmake
## 安装cmake
```sh
tar -xzvf cmake-3.14.5.tar.gz
cd cmake-3.14.5/
@@ -61,13 +61,13 @@ cmake version 3.14.5
CMake suite maintained and supported by Kitware (kitware.com/cmake).
```
### 安装依赖项
## 安装依赖项
```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 ninja-build
```
### 安装 vcpkg
## 安装 vcpkg
```sh
tar zxmf vcpkg-2020.11.tar.gz
@@ -180,7 +180,7 @@ The package libyuv:arm-linux provides CMake targets:
target_link_libraries(main PRIVATE yuv)
```
### 安装 libvpx
## 安装 libvpx
```sh
mv webmproject-libvpx-v1.9.0.tar.gz vcpkg/downloads/
@@ -230,7 +230,7 @@ make[1]: Nothing to be done for 'install'.
make[1]: Nothing to be done for 'install'.
```
### 安装 opus
## 安装 opus
```sh
mv xiph-opus-5c94ec3205c30171ffd01056f5b4622b7c0ab54c.tar.gz vcpkg/downloads/
@@ -302,7 +302,7 @@ configure:
Type "make check" to run the test suite
```
### 构建
## 构建
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
@@ -375,7 +375,7 @@ Caused by:
warning: `hbb_common` (lib) generated 1 warning
Finished release [optimized] target(s) in 141m 20s
```
### 测试
## 测试
- 查看版本号
```sh
root@pynq:~/rustdesk# ./target/release/rustdesk --version

View File

@@ -3,8 +3,8 @@ title: Docker
weight: 30
---
### Mit Docker erstellen
#### Funktioniert nicht unter Windows
## Mit Docker erstellen
### Funktioniert nicht unter Windows
Beginnen Sie mit dem Klonen des Repositorys und der Erstellung des Docker-Containers:

View File

@@ -3,8 +3,8 @@ title: Docker
weight: 30
---
### How to build with Docker
#### This won't work on Windows
## How to build with Docker
### This won't work on Windows
Begin by cloning the repository and building the Docker container:

View File

@@ -4,7 +4,7 @@ weight: 30
---
## Cómo compilar con Docker
# Cómo compilar con Docker
Comience clonando el repositorio y construyendo el contenedor docker:

View File

@@ -3,7 +3,7 @@ title: Docker
weight: 30
---
## Comment construire avec Docker
# Comment construire avec Docker
Commencez par cloner le dépôt et construire le conteneur Docker :

View File

@@ -3,7 +3,7 @@ title: Docker
weight: 30
---
## Come compilare con Docker
# Come compilare con Docker
Cominciare clonando il repository e compilare i container docker:

View File

@@ -3,7 +3,7 @@ title: Docker
weight: 30
---
## Dockerでビルドする方法
# Dockerでビルドする方法
リポジトリのクローンを作成し、Dockerコンテナを構築することから始めます。

View File

@@ -3,8 +3,8 @@ title: Docker
weight: 30
---
### Como compilar com Docker
#### Isto não funcionará no Windows
## Como compilar com Docker
### Isto não funcionará no Windows
Comece clonando o repositório e compilando o container Docker:

View File

@@ -3,7 +3,7 @@ title: Docker
weight: 30
---
## 使用 Docker 编译
# 使用 Docker 编译
首先克隆存储库并构建 docker 容器:

View File

@@ -3,7 +3,7 @@ title: Docker
weight: 30
---
## 使用 Docker 編譯
# 使用 Docker 編譯
首先克隆存儲庫並構建 docker 容器:

View File

@@ -3,9 +3,9 @@ title: FAQ für Windows
weight: 40
---
### Herunterladen des Pakets vcpkg fehlgeschlagen
## Herunterladen des Pakets vcpkg fehlgeschlagen
#### Fehler
### Fehler
```
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
@@ -13,15 +13,15 @@ weight: 40
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
```
#### Lösung
### Lösung
Verwenden Sie einen Browser, um [libyuv-287158925b0e03ea4499a18b4e08478c5781541b.tar.gz](https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz) herunterzuladen, verschieben Sie es dann in `vcpkg/downloads` und installieren Sie es neu.
### Paket in Cargo.lock nicht vorhanden
## Paket in Cargo.lock nicht vorhanden
#### Fehler
### Fehler
```
$ cargo run
@@ -42,34 +42,34 @@ $ cargo run
Vielleicht hat der Autor `git force push` benutzt und der vorherige Beitrag wurde überschrieben.
#### Lösung
### Lösung
`cargo update`erzwingt die Aktualisierung des Pakets.
### VCPKG_ROOT nicht gesetzt
## VCPKG_ROOT nicht gesetzt
#### Fehler
### Fehler
```
thread 'main' panicked at 'Failed to find package: VcpkgNotFound("No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'")', libs\scrap\build.rs:7:45
```
#### Lösung
### Lösung
Fügen Sie die Umgebungsvariable `VCPKG_ROOT` hinzu oder starten Sie mit `VCPKG_ROOT=<vcpkg_dir> cargo run`.
### clang nicht installiert oder LIBCLANG_PATH nicht gesetzt
## clang nicht installiert oder LIBCLANG_PATH nicht gesetzt
#### Fehler
### Fehler
```
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\selfd\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\bindgen-0.59.2\src/lib.rs:2144:31
```
#### Lösung
### Lösung
Installieren Sie [LLVM](https://releases.llvm.org/download.html) und fügen Sie die Umgebungsvariable `LIBCLANG_PATH` als `llvm_install_dir/bin` hinzu.

View File

@@ -3,9 +3,9 @@ title: FAQ for Windows
weight: 40
---
### vcpkg download package failed
## vcpkg download package failed
#### Error
### Error
```
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
@@ -13,15 +13,15 @@ weight: 40
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
```
#### Solution
### Solution
Use a browser to download [libyuv-287158925b0e03ea4499a18b4e08478c5781541b.tar.gz](https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz), then move it into `vcpkg/downloads` and reinstall.
### Package in Cargo.lock not exist
## Package in Cargo.lock not exist
#### Error
### Error
```
$ cargo run
@@ -42,34 +42,34 @@ $ cargo run
Maybe the author used `git force push` and the previous commit was overwritten.
#### Solution
### Solution
`cargo update`, force the package to be updated.
### VCPKG_ROOT not set
## VCPKG_ROOT not set
#### Error
### Error
```
thread 'main' panicked at 'Failed to find package: VcpkgNotFound("No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'")', libs\scrap\build.rs:7:45
```
#### Solution
### Solution
Add `VCPKG_ROOT` environment variable, or run with `VCPKG_ROOT=<vcpkg_dir> cargo run`.
### clang not installed, or LIBCLANG_PATH not set
## clang not installed, or LIBCLANG_PATH not set
#### Error
### Error
```
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\selfd\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\bindgen-0.59.2\src/lib.rs:2144:31
```
#### Solution
### Solution
Install [LLVM](https://releases.llvm.org/download.html), add the `LIBCLANG_PATH` environment variable as `llvm_install_dir/bin`.

View File

@@ -3,9 +3,9 @@ title: FAQ para Windows
weight: 40
---
## vcpkg el paquete de descarga falló
# vcpkg el paquete de descarga falló
### Error
## Error
```
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
@@ -13,15 +13,15 @@ weight: 40
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
```
### Solución
## Solución
Usa un navegador para descargar `https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz`, luego muévelo a `vcpkg/downloads` y reinstalar.
## El paquete en Cargo.lock no existe
# El paquete en Cargo.lock no existe
### Error
## Error
```
$ cargo run
@@ -42,34 +42,34 @@ $ cargo run
Tal vez el autor usó `git force push` y la confirmación anterior se sobrescribió.
### Solución
## Solución
`cargo update`, forzar la actualización del paquete
## VCPKG_ROOT no establecido
# VCPKG_ROOT no establecido
### Error
## Error
```
thread 'main' panicked at 'Failed to find package: VcpkgNotFound("No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'")', libs\scrap\build.rs:7:45
```
### Solución
## Solución
Agregar `VCPKG_ROOT` variable de entorno, o ejecutar con `VCPKG_ROOT=<vcpkg_dir> cargo run`
## clang no instalado, o LIBCLANG_PATH no establecido
# clang no instalado, o LIBCLANG_PATH no establecido
### Error
## Error
```
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\selfd\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\bindgen-0.59.2\src/lib.rs:2144:31
```
### Solución
## Solución
Instalar [llvm](https://releases.llvm.org/download.html), Añade el `LIBCLANG_PATH` variable de entorno como `llvm_install_dir/bin`

View File

@@ -3,9 +3,9 @@ title: FAQ
weight: 40
---
## Échec du téléchargement du package vcpkg
# Échec du téléchargement du package vcpkg
### Erreur
## Erreur
```
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
@@ -13,14 +13,14 @@ weight: 40
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
```
### Solution
## Solution
Utiliser un navigateur pour télécharger `https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz`, puis déplacez-le dans `vcpkg/downloads` et réinstallez.
## Le paquet dans Cargo.lock n'existe pas
# Le paquet dans Cargo.lock n'existe pas
### Erreur
## Erreur
```
$ cargo run
@@ -41,31 +41,31 @@ $ cargo run
Peut-être que l'auteur a utilisé `git force push` et que le commit précédent a été écrasé.
### Solution
## Solution
`cargo update`, forcer la mise à jour du paquet.
## VCPKG_ROOT non défini
# VCPKG_ROOT non défini
### Erreur
## Erreur
```
thread 'main' panicked at 'Failed to find package: VcpkgNotFound("No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'")', libs\scrap\build.rs:7:45
```
### Solution
## Solution
Ajoutez la variable d'environnement `VCPKG_ROOT` ou lancer avec la commande `VCPKG_ROOT=<vcpkg_dir> cargo run`
## clang non installé ou LIBCLANG_PATH non défini
# clang non installé ou LIBCLANG_PATH non défini
### Erreur
## Erreur
```
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\selfd\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\bindgen-0.59.2\src/lib.rs:2144:31
```
### Solution
## Solution
Installer [llvm](https://releases.llvm.org/download.html), et ajoutez la variable d'environnement `LIBCLANG_PATH` avec la valeur `llvm_install_dir/bin`

View File

@@ -3,9 +3,9 @@ title: FAQ per Windows
weight: 40
---
### Download del pacchetto vcpkg fallito
## Download del pacchetto vcpkg fallito
#### Errore
### Errore
```
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
@@ -13,15 +13,15 @@ weight: 40
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
```
#### Soluzione
### Soluzione
Usa un browser per scaricare [libyuv-287158925b0e03ea4499a18b4e08478c5781541b.tar.gz](https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz), poi spostalo in `vcpkg/downloads` e reinstalla.
### Il pacchetto in Cargo.lock non esiste
## Il pacchetto in Cargo.lock non esiste
#### Errore
### Errore
```
$ cargo run
@@ -42,34 +42,34 @@ $ cargo run
Forse l'autore ha usato `git force push` e il commit precedente è stato sovrascritto.
#### Soluzione
### Soluzione
`cargo update`, forza l'aggiornamento del pacchetto.
### VCPKG_ROOT non impostato
## VCPKG_ROOT non impostato
#### Errore
### Errore
```
thread 'main' panicked at 'Failed to find package: VcpkgNotFound("No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'")', libs\scrap\build.rs:7:45
```
#### Soluzione
### Soluzione
Aggiungi la variabile d'ambiente `VCPKG_ROOT`, o esegui con `VCPKG_ROOT=<vcpkg_dir> cargo run`.
### clang non installato, o LIBCLANG_PATH non impostato
## clang non installato, o LIBCLANG_PATH non impostato
#### Errore
### Errore
```
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\selfd\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\bindgen-0.59.2\src/lib.rs:2144:31
```
#### Soluzione
### Soluzione
Installa [LLVM](https://releases.llvm.org/download.html), aggiungi la variabile d'ambiente `LIBCLANG_PATH` come `llvm_install_dir/bin`.

View File

@@ -3,9 +3,9 @@ title: Windows FAQ
weight: 40
---
### vcpkg パッケージダウンロード失敗
## vcpkg パッケージダウンロード失敗
#### エラー
### エラー
```
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
@@ -13,15 +13,15 @@ weight: 40
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
```
#### 解決策
### 解決策
ブラウザを使用して [libyuv-287158925b0e03ea4499a18b4e08478c5781541b.tar.gz](https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz) をダウンロードし、`vcpkg/downloads` に移動して再インストールしてください。
### Cargo.lock 内のパッケージが存在しない
## Cargo.lock 内のパッケージが存在しない
#### エラー
### エラー
```
$ cargo run
@@ -42,34 +42,34 @@ $ cargo run
おそらく作者が `git force push` を使用して以前のコミットを上書きしたようです。
#### 解決策
### 解決策
`cargo update` を実行して、パッケージを強制的に更新してください。
### VCPKG_ROOT が設定されていない
## VCPKG_ROOT が設定されていない
#### エラー
### エラー
```
thread 'main' panicked at 'Failed to find package: VcpkgNotFound("No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'")', libs\scrap\build.rs:7:45
```
#### 解決策
### 解決策
`VCPKG_ROOT` 環境変数を追加するか、`VCPKG_ROOT=<vcpkg_dir> cargo run` で実行してください。
### clang がインストールされていない、または LIBCLANG_PATH が設定されていない
## clang がインストールされていない、または LIBCLANG_PATH が設定されていない
#### エラー
### エラー
```
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\selfd\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\bindgen-0.59.2\src/lib.rs:2144:31
```
#### 解決策
### 解決策
[LLVM](https://releases.llvm.org/download.html) をインストールし、`LIBCLANG_PATH` 環境変数を `llvm_install_dir/bin` として追加してください。

View File

@@ -3,9 +3,9 @@ title: FAQ para Windows
weight: 40
---
### Falha no download de pacote vcpkg
## Falha no download de pacote vcpkg
#### Erro
### Erro
```
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
@@ -13,15 +13,15 @@ weight: 40
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
```
#### Solução
### Solução
Use um navegador para baixar [libyuv-287158925b0e03ea4499a18b4e08478c5781541b.tar.gz](https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz), depois mova para `vcpkg/downloads` e reinstale.
### Pacote no Cargo.lock não existe
## Pacote no Cargo.lock não existe
#### Erro
### Erro
```
$ cargo run
@@ -42,34 +42,34 @@ $ cargo run
Talvez o autor tenha usado `git force push` e o commit anterior foi sobrescrito.
#### Solução
### Solução
`cargo update`, força a atualização do pacote.
### VCPKG_ROOT não definido
## VCPKG_ROOT não definido
#### Erro
### Erro
```
thread 'main' panicked at 'Failed to find package: VcpkgNotFound("No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'")', libs\scrap\build.rs:7:45
```
#### Solução
### Solução
Adicione a variável de ambiente `VCPKG_ROOT`, ou execute com `VCPKG_ROOT=<vcpkg_dir> cargo run`.
### clang não instalado, ou LIBCLANG_PATH não definido
## clang não instalado, ou LIBCLANG_PATH não definido
#### Erro
### Erro
```
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\selfd\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\bindgen-0.59.2\src/lib.rs:2144:31
```
#### Solução
### Solução
Instale [LLVM](https://releases.llvm.org/download.html), adicione a variável de ambiente `LIBCLANG_PATH` como `llvm_install_dir/bin`.

View File

@@ -3,20 +3,20 @@ title: Windows 常见问题
weight: 40
---
## vcpkg下载包失败
### 错误示例
# vcpkg下载包失败
## 错误示例
```
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
```
### 解决方法
## 解决方法
使用浏览器下载`https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz`, 然后放到`vcpkg/downloads`下, 重新安装.
## Cargo.lock里的版本不存在
### 错误示例
# Cargo.lock里的版本不存在
## 错误示例
```
$ cargo run
Updating git repository `https://github.com/open-trade/confy`
@@ -34,25 +34,25 @@ $ cargo run
object not found - no match for id (27fa12941291b44ccd856aef4a5452c1eb646047); class=Odb (9); code=NotFound (-3)
```
可能作者使用`git force push`覆盖了之前的commit
### 解决方法
## 解决方法
`cargo update`强制更新包
## VCPKG_ROOT环境变量未设置
### 错误示例
# VCPKG_ROOT环境变量未设置
## 错误示例
```
thread 'main' panicked at 'Failed to find package: VcpkgNotFound("No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'")', libs\scrap\build.rs:7:45
```
### 解决办法
## 解决办法
添加VCPKG_ROOT环境变量, 或者使用`VCPKG_ROOT=<vcpkg_dir> cargo run`
## 未安装clang环境, 或未设置LIBCLANG_PATH环境变量
### 错误示例
# 未安装clang环境, 或未设置LIBCLANG_PATH环境变量
## 错误示例
```
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\selfd\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\bindgen-0.59.2\src/lib.rs:2144:31
```
### 解决办法
## 解决办法
安装[llvm](https://releases.llvm.org/download.html), 设置`LIBCLANG_PATH`环境变量为`llvm_install_dir/bin`

View File

@@ -3,9 +3,9 @@ title: Windows 常見問題
weight: 40
---
## vcpkg 下載包失敗
# vcpkg 下載包失敗
### 錯誤
## 錯誤
```
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
@@ -13,15 +13,15 @@ weight: 40
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
```
### 解決方法
## 解決方法
使用瀏覽器下載 `https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz`,然後放到 `vcpkg/downloads下重新安裝。
## Cargo.lock 裡的套件不存在
# Cargo.lock 裡的套件不存在
### 錯誤
## 錯誤
```
$ cargo run
@@ -42,34 +42,34 @@ $ cargo run
可能作者使用 `git force push` 覆蓋了之前的 commit。
### 解決方法
## 解決方法
使用 `cargo update`,強制更新套件
## VCPKG_ROOT 環境變數未設置
# VCPKG_ROOT 環境變數未設置
### 錯誤
## 錯誤
```
thread 'main' panicked at 'Failed to find package: VcpkgNotFound("No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'")', libs\scrap\build.rs:7:45
```
### 解決辦法
## 解決辦法
加入 VCPKG_ROOT 環境變數, 或者使用 `VCPKG_ROOT=<vcpkg_dir> cargo run`
## 未安裝 clang 環境,或未設置 LIBCLANG_PATH 環境變數
# 未安裝 clang 環境,或未設置 LIBCLANG_PATH 環境變數
### 錯誤
## 錯誤
```
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', C:\Users\selfd\.cargo\registry\src\mirrors.ustc.edu.cn-61ef6e0cd06fb9b8\bindgen-0.59.2\src/lib.rs:2144:31
```
### 解決辦法
## 解決辦法
安裝 [llvm](https://releases.llvm.org/download.html),設置 `LIBCLANG_PATH` 環境變數為 `llvm_install_dir/bin`

View File

@@ -3,27 +3,27 @@ title: Linux
weight: 10
---
### Auf Linux erstellen
## Auf Linux erstellen
#### Ubuntu 18 (Debian 10)
### Ubuntu 18 (Debian 10)
```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 cmake
```
#### Fedora 28 (CentOS 8)
### Fedora 28 (CentOS 8)
```sh
sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
```
#### Arch Linux (Manjaro)
### Arch Linux (Manjaro)
```sh
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio
```
#### vcpkg installieren
### vcpkg installieren
```sh
git clone https://github.com/microsoft/vcpkg
@@ -35,7 +35,7 @@ export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
```
#### libvpx reparieren (für Fedora)
### libvpx reparieren (für Fedora)
```sh
cd vcpkg/buildtrees/libvpx/src
@@ -48,7 +48,7 @@ cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/
cd
```
#### Erstellen
### Erstellen
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

View File

@@ -3,27 +3,27 @@ title: Linux
weight: 10
---
### How to build on Linux
## How to build on Linux
#### Ubuntu 18 (Debian 10)
### Ubuntu 18 (Debian 10)
```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 cmake
```
#### Fedora 28 (CentOS 8)
### Fedora 28 (CentOS 8)
```sh
sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
```
#### Arch Linux (Manjaro)
### Arch Linux (Manjaro)
```sh
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio
```
#### Install vcpkg
### Install vcpkg
```sh
git clone --recurse-submodules https://github.com/microsoft/vcpkg
@@ -35,7 +35,7 @@ export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
```
#### Fix libvpx (for Fedora)
### Fix libvpx (for Fedora)
```sh
cd vcpkg/buildtrees/libvpx/src
@@ -48,7 +48,7 @@ cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/
cd
```
#### Build
### Build
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

View File

@@ -3,27 +3,27 @@ title: Linux
weight: 10
---
## Cómo construir en Linux
# Cómo construir en Linux
### Ubuntu 18 (Debian 10)
## Ubuntu 18 (Debian 10)
```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 cmake
```
### Fedora 28 (CentOS 8)
## Fedora 28 (CentOS 8)
```sh
sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
```
### Arch (Manjaro)
## Arch (Manjaro)
```sh
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio
```
### Instalar vcpkg
## Instalar vcpkg
```sh
git clone https://github.com/microsoft/vcpkg
@@ -35,7 +35,7 @@ export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
```
### Arreglar libvpx (Para Fedora)
## Arreglar libvpx (Para Fedora)
```sh
cd vcpkg/buildtrees/libvpx/src
@@ -48,7 +48,7 @@ cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/
cd
```
### Construir
## Construir
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

View File

@@ -3,27 +3,27 @@ title: Linux
weight: 10
---
## Comment compiler/build sous Linux
# Comment compiler/build sous Linux
### Ubuntu 18 (Debian 10)
## Ubuntu 18 (Debian 10)
```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 cmake
```
### Fedora 28 (CentOS 8)
## Fedora 28 (CentOS 8)
```sh
sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
```
### Arch (Manjaro)
## Arch (Manjaro)
```sh
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio
```
### Installer vcpkg
## Installer vcpkg
```sh
git clone https://github.com/microsoft/vcpkg
@@ -35,7 +35,7 @@ export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
```
### Corriger libvpx (Pour Fedora)
## Corriger libvpx (Pour Fedora)
```sh
cd vcpkg/buildtrees/libvpx/src
@@ -48,7 +48,7 @@ cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/
cd
```
### Construire
## Construire
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

View File

@@ -3,27 +3,27 @@ title: Linux
weight: 10
---
## Come compilare su Linux
# Come compilare su Linux
### Ubuntu 18 (Debian 10)
## Ubuntu 18 (Debian 10)
```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 cmake
```
### Fedora 28 (CentOS 8)
## Fedora 28 (CentOS 8)
```sh
sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
```
### Arch (Manjaro)
## Arch (Manjaro)
```sh
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio
```
### Installare vcpkg
## Installare vcpkg
```sh
git clone https://github.com/microsoft/vcpkg
@@ -35,7 +35,7 @@ export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
```
### Fix libvpx (Per Fedora)
## Fix libvpx (Per Fedora)
```sh
cd vcpkg/buildtrees/libvpx/src
@@ -48,7 +48,7 @@ cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/
cd
```
### Compilazione
## Compilazione
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

View File

@@ -3,27 +3,27 @@ title: Linux
weight: 10
---
## Linuxでのビルド手順
# Linuxでのビルド手順
### Ubuntu 18 (Debian 10)
## Ubuntu 18 (Debian 10)
```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 cmake
```
### Fedora 28 (CentOS 8)
## Fedora 28 (CentOS 8)
```sh
sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
```
### Arch (Manjaro)
## Arch (Manjaro)
```sh
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio
```
### Install vcpkg
## Install vcpkg
```sh
git clone https://github.com/microsoft/vcpkg
@@ -35,7 +35,7 @@ export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
```
### Fix libvpx (For Fedora)
## Fix libvpx (For Fedora)
```sh
cd vcpkg/buildtrees/libvpx/src
@@ -48,7 +48,7 @@ cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/
cd
```
### Build
## Build
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

View File

@@ -3,27 +3,27 @@ title: Linux
weight: 10
---
### Como compilar no Linux
## Como compilar no Linux
#### Ubuntu 18 (Debian 10)
### Ubuntu 18 (Debian 10)
```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 cmake
```
#### Fedora 28 (CentOS 8)
### Fedora 28 (CentOS 8)
```sh
sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
```
#### Arch Linux (Manjaro)
### Arch Linux (Manjaro)
```sh
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio
```
#### Instalar vcpkg
### Instalar vcpkg
```sh
git clone --recurse-submodules https://github.com/microsoft/vcpkg
@@ -35,7 +35,7 @@ export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
```
#### Corrigir libvpx (para Fedora)
### Corrigir libvpx (para Fedora)
```sh
cd vcpkg/buildtrees/libvpx/src
@@ -48,7 +48,7 @@ cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/
cd
```
#### Compilar
### Compilar
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

View File

@@ -3,27 +3,27 @@ title: Linux
weight: 10
---
## 在 Linux 上编译
# 在 Linux 上编译
### Ubuntu 18 (Debian 10)
## Ubuntu 18 (Debian 10)
```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 cmake
```
### Fedora 28 (CentOS 8)
## Fedora 28 (CentOS 8)
```sh
sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
```
### Arch (Manjaro)
## Arch (Manjaro)
```sh
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio
```
### 安装 vcpkg
## 安装 vcpkg
```sh
git clone https://github.com/microsoft/vcpkg
@@ -35,7 +35,7 @@ export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
```
### 修复 libvpx (仅仅针对 Fedora)
## 修复 libvpx (仅仅针对 Fedora)
```sh
cd vcpkg/buildtrees/libvpx/src
@@ -48,7 +48,7 @@ cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/
cd
```
### 构建
## 构建
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

View File

@@ -3,27 +3,27 @@ title: Linux
weight: 10
---
## 在 Linux 上編譯
# 在 Linux 上編譯
### Ubuntu 18 (Debian 10)
## Ubuntu 18 (Debian 10)
```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 cmake
```
### Fedora 28 (CentOS 8)
## Fedora 28 (CentOS 8)
```sh
sudo yum -y install gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
```
### Arch (Manjaro)
## Arch (Manjaro)
```sh
sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-config clang gtk3 xdotool libxcb libxfixes alsa-lib pulseaudio
```
### 安裝 vcpkg
## 安裝 vcpkg
```sh
git clone https://github.com/microsoft/vcpkg
@@ -35,7 +35,7 @@ export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
```
### 修復 libvpx (僅僅針對 Fedora)
## 修復 libvpx (僅僅針對 Fedora)
```sh
cd vcpkg/buildtrees/libvpx/src
@@ -48,7 +48,7 @@ cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/
cd
```
### 構建
## 構建
```sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

View File

@@ -7,10 +7,10 @@ Es gibt mehrere Möglichkeiten, dies zu tun. Diese Anleitung geht davon aus, das
Die größte Herausforderung besteht wahrscheinlich darin, Versionen aller Tools zu finden, die zusammen funktionieren, zumal Teile der Toolchain wie Xcode und LLVM von Ihrer macOS-Version abhängig sind. Die in diesem Leitfaden verwendeten Versionen sind wahrscheinlich nicht die, die Sie verwenden sollten. Um herauszufinden, welche Versionen Sie verwenden sollten, können Sie im [GitHub-Build-Workflow] (https://github.com/rustdesk/rustdesk/blob/master/.github/workflows/flutter-build.yml) nach der RustDesk-Version suchen, die Sie bauen möchten. Wählen Sie den Tag aus, für den Sie die Datei oben links auf der Seite sehen möchten. Das wird aber nicht unbedingt funktionieren, weil die macOS-Tools, die mit dem GitHub-Runner geliefert werden, möglicherweise nicht die gleichen Versionen sind wie die auf Ihrem lokalen System.
#### Export
### Export
`export` wird verwendet, um verschiedene Umgebungsvariablen zu setzen. Wenn Sie `export` ausführen, wird diese Variable nur für die aktuelle Terminalsitzung gesetzt und muss daher für jedes neue Terminalfenster, das Sie jetzt oder in Zukunft zum Erstellen von RustDesk verwenden wollen, wiederholt werden. Im Allgemeinen ist es besser, alle `export` in ein Skript einzufügen, das automatisch für jedes geöffnete Terminal ausgeführt wird, zum Beispiel `~/.bash_profile`. Die hier aufgelisteten vollständigen `export`-Befehle können einfach an die Datei angehängt werden, müssen aber auch im aktuellen Terminal ausgeführt werden, da die Datei erst gelesen wird, wenn ein *neues* Terminal geöffnet wird.
### Tools installieren, die wir in Homebrew verwenden werden
## Tools installieren, die wir in Homebrew verwenden werden
```sh
brew install python3 create-dmg nasm cmake ggc wget ninja pkg-config wget rustup
@@ -23,7 +23,7 @@ sudo chown <username>:admin /usr/local/include
sudo chmod 775 /usr/local/include
```
### vcpkg installieren
## vcpkg installieren
Vcpkg wird verwendet, um die C/C++-Abhängigkeiten zu verwalten, die von RustDesk verwendet werden. Entscheiden Sie, wo Sie die Installation durchführen möchten, und führen Sie den folgenden Befehl in dem Ordner aus, in dem sich der Ordner `vcpkg` befinden soll. In diesem Beispiel wird `/Users/<Benutzername>/repos/` als Speicherort und das Tag `2023.04.15` als Version verwendet.
```sh
@@ -35,7 +35,7 @@ git checkout 2023.04.15
export VCPKG_ROOT=~/repos/vcpkg
```
### Rust installieren und konfigurieren
## Rust installieren und konfigurieren
Wir verwenden `rustup`, um Rust zu verwalten, das bereits oben mit Homebrew installiert wurde. Es muss aber noch konfiguriert werden. Folgen Sie den Anweisungen und stellen Sie sicher, dass sich sowohl `rustup` als auch `rustc` im `PATH` befinden. In diesem Beispiel verwenden wir die Rust-Version `1.75.0`, aber möglicherweise müssen Sie eine andere Version verwenden. Sie können mehrere Versionen von Rust mit `rustup` installieren und verwalten.
```sh
@@ -45,7 +45,7 @@ rustup component add rustfmt
```
Für einen Überblick über die installierten und standardmäßigen Rust-Toolchains führen Sie `rustup show` aus.
### RustDesk-Quelldateien herunterladen
## RustDesk-Quelldateien herunterladen
Entscheiden Sie, wo Sie die RustDesk-Quelldateien haben möchten, und führen Sie den folgenden Befehl in dem Ordner aus, in dem sich der Ordner `rustdesk` befinden soll. In diesem Beispiel wird `/Users/<Benutzername>/repos/` als Speicherort verwendet.
@@ -62,17 +62,17 @@ export PATH=~/Library/Python/3.9/bin:$PATH
```
Sobald das erledigt ist, führen Sie die fehlgeschlagenen Befehle erneut aus. Denken Sie daran, auch `~/.bash_profile` zu editieren.
### Komponenten der Benutzeroberfläche installieren
## Komponenten der Benutzeroberfläche installieren
RustDesk kann sowohl mit [Sciter](https://sciter.com/) als auch mit [Flutter](https://flutter.dev/) erstellt werden. Beide benötigen zusätzliche Komponenten. Folgen Sie daher den Schritten für die jeweilige Version oder für beide.
#### Sciter
### Sciter
Führen Sie im Ordner `rustdesk` aus:
```sh
wget https://github.com/c-smile/sciter-sdk/raw/master/bin.osx/libsciter.dylib
```
#### Flutter
### Flutter
[FVM](https://fvm.app/) lässt Sie verwalten, welche Version von Flutter verwendet wird. Es ist wahrscheinlich der einfachste Weg, verschiedene Flutter-Versionen zu testen.
@@ -106,7 +106,7 @@ Sobald Flutter läuft, ist es an der Zeit, die "Brücke" zu installieren, die Ru
cargo install flutter_rust_bridge_codegen --version "1.80.1" --features "uuid"
```
### Erstellen
## Erstellen
Erstellen Sie im Ordner `rustdesk` die Sciter-Version mit:

View File

@@ -7,10 +7,10 @@ There are multiple ways to do this, this guide assumes that `Xcode`, `Git` and `
The biggest challenge is probably to find versions of all the tools that work together, especially since parts of the toolchain like Xcode and LLVM are dictated by your macOS version. The versions used in this guide probably aren't what you should use. As a start to figure what versions to use is to look in the [GitHub build workflow](https://github.com/rustdesk/rustdesk/blob/master/.github/workflows/flutter-build.yml) for the RustDesk version you want to build. Choose the tag for which to see the file in the upper left of the page. But that won't necessarily work because the macOS tools that comes with the GitHub runner might not be the same versions as those on your local system.
#### Export
### Export
`export` is used to set various environmental variables. When you run `export`, that variable is set for the current terminal session only, and these must therefore be repeated for every new terminal window you want to use to build RustDesk, now or in the future. Generally, it's preferable to add all `export`s to a script that is executed automatically for every terminal that is opened, for example `~/.bash_profile`. The full `export` commands listed here can simply be appended to the file, but must also be run in the current terminal because the file isn't read until a *new* terminal is opened.
### Install the tools we're going to use from Homebrew
## Install the tools we're going to use from Homebrew
```sh
brew install python3 create-dmg nasm cmake gcc wget ninja pkg-config wget rustup
@@ -23,7 +23,7 @@ sudo chown <username>:admin /usr/local/include
sudo chmod 775 /usr/local/include
```
### Install vcpkg
## Install vcpkg
Vcpkg is used to manage the C/C++ dependencies used by RustDesk. Decide where you want the installation and run the following from the folder in which you want the `vcpkg` folder to reside. In this example `/Users/<username>/repos/` is used as the location, and the tag `2023.04.15` is used as the version.
```sh
@@ -35,7 +35,7 @@ git checkout 2023.04.15
export VCPKG_ROOT=~/repos/vcpkg
```
### Install and configure Rust
## Install and configure Rust
We use `rustup` to manage Rust, which was already installed above using Homebrew. But, it still needs to be configured. Follow the instructions and make sure both `rustup` and `rustc` are on the `PATH`. In this example we use Rust version `1.75.0`, but you might need to use a different version. You can install and manage multiple versions of Rust with `rustup`.
```sh
@@ -45,7 +45,7 @@ rustup component add rustfmt
```
For an overview over installed and default Rust toolchains, run `rustup show`.
### Download the RustDesk source files
## Download the RustDesk source files
Decide where you want the RustDesk source files and run the following from the folder in which you want the `rustdesk` folder to reside. In this example `/Users/<username>/repos/` is used as the location.
@@ -62,17 +62,17 @@ export PATH=~/Library/Python/3.9/bin:$PATH
```
Once that's done, run the failed command(s) again. Remember to also edit `~/.bash_profile`.
### Install user interface components
## Install user interface components
RustDesk can be built both using [Sciter](https://sciter.com/) and [Flutter](https://flutter.dev/). Both of these need additional components, so follow the steps for the relevant version, or both.
#### Sciter
### Sciter
From the `rustdesk` folder, run:
```sh
wget https://github.com/c-smile/sciter-sdk/raw/master/bin.osx/libsciter.dylib
```
#### Flutter
### Flutter
[FVM](https://fvm.app/) lets you manage which version of Flutter is used, and is probably the easiest way to be able to easily try different Flutter versions.
@@ -106,7 +106,7 @@ Once Flutter is up and running, it's time to install the "bridge" that binds Rus
cargo install flutter_rust_bridge_codegen --version "1.80.1" --features "uuid"
```
### Build
## Build
Build from the `rustdesk` folder. Build the Sciter version with:

View File

@@ -7,10 +7,10 @@ Ci sono diversi modi per farlo, questa guida presuppone che `Xcode`, `Git` e `Ho
La sfida più grande è probabilmente trovare le versioni di tutti gli strumenti che funzionano insieme, specialmente dato che parti della toolchain come Xcode e LLVM sono dettate dalla tua versione di macOS. Le versioni utilizzate in questa guida probabilmente non sono quelle che dovresti utilizzare. Come punto di partenza per capire quali versioni utilizzare, guarda il [workflow di build di GitHub](https://github.com/rustdesk/rustdesk/blob/master/.github/workflows/flutter-build.yml) per la versione di RustDesk che vuoi compilare. Scegli il tag per vedere il file nell'angolo in alto a sinistra della pagina. Ma questo potrebbe non funzionare necessariamente perché gli strumenti macOS forniti con il runner di GitHub potrebbero non essere le stesse versioni di quelle sul tuo sistema locale.
#### Export
### Export
`export` viene utilizzato per impostare varie variabili ambientali. Quando esegui `export`, quella variabile viene impostata solo per la sessione terminale corrente, e quindi deve essere ripetuta per ogni nuova finestra terminale che vuoi utilizzare per compilare RustDesk, ora o in futuro. Generalmente, è preferibile aggiungere tutti gli `export` a uno script che viene eseguito automaticamente per ogni terminale che viene aperto, ad esempio `~/.bash_profile`. I comandi `export` completi elencati qui possono essere semplicemente aggiunti al file, ma devono anche essere eseguiti nel terminale corrente perché il file non viene letto fino a quando non viene aperto un *nuovo* terminale.
### Installa gli strumenti che utilizzeremo da Homebrew
## Installa gli strumenti che utilizzeremo da Homebrew
```sh
brew install python3 create-dmg nasm cmake gcc wget ninja pkg-config wget rustup
@@ -23,7 +23,7 @@ sudo chown <username>:admin /usr/local/include
sudo chmod 775 /usr/local/include
```
### Installa vcpkg
## Installa vcpkg
Vcpkg viene utilizzato per gestire le dipendenze C/C++ utilizzate da RustDesk. Decidi dove vuoi l'installazione ed esegui quanto segue dalla cartella in cui vuoi che risieda la cartella `vcpkg`. In questo esempio `/Users/<username>/repos/` viene utilizzato come posizione, e il tag `2023.04.15` viene utilizzato come versione.
```sh
@@ -35,7 +35,7 @@ git checkout 2023.04.15
export VCPKG_ROOT=~/repos/vcpkg
```
### Installa e configura Rust
## Installa e configura Rust
Utilizziamo `rustup` per gestire Rust, che è già stato installato sopra utilizzando Homebrew. Ma deve ancora essere configurato. Segui le istruzioni e assicurati che sia `rustup` che `rustc` siano nel `PATH`. In questo esempio utilizziamo la versione di Rust `1.75.0`, ma potresti dover utilizzare una versione diversa. Puoi installare e gestire più versioni di Rust con `rustup`.
```sh
@@ -45,7 +45,7 @@ rustup component add rustfmt
```
Per una panoramica delle toolchain Rust installate e predefinite, esegui `rustup show`.
### Scarica i file sorgente di RustDesk
## Scarica i file sorgente di RustDesk
Decidi dove vuoi i file sorgente di RustDesk ed esegui quanto segue dalla cartella in cui vuoi che risieda la cartella `rustdesk`. In questo esempio `/Users/<username>/repos/` viene utilizzato come posizione.
@@ -62,17 +62,17 @@ export PATH=~/Library/Python/3.9/bin:$PATH
```
Una volta fatto, esegui nuovamente i comandi falliti. Ricorda anche di modificare `~/.bash_profile`.
### Installa i componenti dell'interfaccia utente
## Installa i componenti dell'interfaccia utente
RustDesk può essere compilato utilizzando sia [Sciter](https://sciter.com/) che [Flutter](https://flutter.dev/). Entrambi necessitano di componenti aggiuntivi, quindi segui i passaggi per la versione pertinente, o entrambe.
#### Sciter
### Sciter
Dalla cartella `rustdesk`, esegui:
```sh
wget https://github.com/c-smile/sciter-sdk/raw/master/bin.osx/libsciter.dylib
```
#### Flutter
### Flutter
[FVM](https://fvm.app/) ti consente di gestire quale versione di Flutter viene utilizzata, ed è probabilmente il modo più semplice per poter facilmente provare diverse versioni di Flutter.
@@ -106,7 +106,7 @@ Una volta che Flutter è attivo e funzionante, è il momento di installare il "b
cargo install flutter_rust_bridge_codegen --version "1.80.1" --features "uuid"
```
### Build
## Build
Compila dalla cartella `rustdesk`. Compila la versione Sciter con:

View File

@@ -7,10 +7,10 @@ weight: 21
最大の課題は、特に Xcode や LLVM などのツールチェーンの一部が macOS バージョンによって決まるため、すべてのツールが連携して動作するバージョンを見つけることです。このガイドで使用されているバージョンは、あなたが使用すべきバージョンではない可能性があります。使用するバージョンを決定する開始点として、ビルドしたい RustDesk バージョンの [GitHub ビルドワークフロー](https://github.com/rustdesk/rustdesk/blob/master/.github/workflows/flutter-build.yml) を参照してください。ページの左上でファイルを表示するタグを選択してください。ただし、GitHub ランナーに付属する macOS ツールが、ローカルシステムのものと同じバージョンでない可能性があるため、これが必ずしも機能するとは限りません。
#### Export
### Export
`export` は様々な環境変数を設定するために使用されます。`export` を実行すると、その変数は現在のターミナルセッションのみに設定され、現在または将来 RustDesk をビルドするために使用したい新しいターミナルウィンドウごとに繰り返す必要があります。一般的には、すべての `export` を、開かれるすべてのターミナルに対して自動的に実行されるスクリプト(例:`~/.bash_profile`)に追加することが望ましいです。ここに記載されている完全な `export` コマンドは、単純にファイルに追加できますが、ファイルは *新しい* ターミナルが開かれるまで読み込まれないため、現在のターミナルでも実行する必要があります。
### Homebrew から使用するツールをインストールする
## Homebrew から使用するツールをインストールする
```sh
brew install python3 create-dmg nasm cmake gcc wget ninja pkg-config wget rustup
@@ -23,7 +23,7 @@ sudo chown <username>:admin /usr/local/include
sudo chmod 775 /usr/local/include
```
### vcpkg をインストールする
## vcpkg をインストールする
Vcpkg は RustDesk が使用する C/C++ 依存関係を管理するために使用されます。インストール場所を決定し、`vcpkg` フォルダを配置したいフォルダから以下を実行してください。この例では、場所として `/Users/<username>/repos/` を使用し、バージョンとしてタグ `2023.04.15` を使用しています。
```sh
@@ -35,7 +35,7 @@ git checkout 2023.04.15
export VCPKG_ROOT=~/repos/vcpkg
```
### Rust をインストールして設定する
## Rust をインストールして設定する
Rust の管理には `rustup` を使用しますが、これは上記で Homebrew を使用して既にインストールされています。ただし、まだ設定が必要です。指示に従い、`rustup``rustc` の両方が `PATH` にあることを確認してください。この例では Rust バージョン `1.75.0` を使用していますが、異なるバージョンを使用する必要がある場合があります。`rustup` を使用して複数のバージョンの Rust をインストールして管理できます。
```sh
@@ -45,7 +45,7 @@ rustup component add rustfmt
```
インストールされたデフォルトの Rust ツールチェーンの概要を確認するには、`rustup show` を実行してください。
### RustDesk ソースファイルをダウンロードする
## RustDesk ソースファイルをダウンロードする
RustDesk ソースファイルを配置する場所を決定し、`rustdesk` フォルダを配置したいフォルダから以下を実行してください。この例では、場所として `/Users/<username>/repos/` を使用しています。
@@ -62,17 +62,17 @@ export PATH=~/Library/Python/3.9/bin:$PATH
```
それが完了したら、失敗したコマンドを再度実行してください。`~/.bash_profile` も編集することを忘れないでください。
### ユーザーインターフェイスコンポーネントをインストールする
## ユーザーインターフェイスコンポーネントをインストールする
RustDesk は [Sciter](https://sciter.com/) と [Flutter](https://flutter.dev/) の両方を使用してビルドできます。これらの両方には追加のコンポーネントが必要なので、関連するバージョンまたは両方の手順に従ってください。
#### Sciter
### Sciter
`rustdesk` フォルダから実行してください:
```sh
wget https://github.com/c-smile/sciter-sdk/raw/master/bin.osx/libsciter.dylib
```
#### Flutter
### Flutter
[FVM](https://fvm.app/) を使用すると、使用する Flutter のバージョンを管理でき、異なる Flutter バージョンを簡単に試すための最も簡単な方法です。
@@ -106,7 +106,7 @@ Flutter が起動して実行されたら、Rust と Flutter を結びつける
cargo install flutter_rust_bridge_codegen --version "1.80.1" --features "uuid"
```
### ビルド
## ビルド
`rustdesk` フォルダからビルドしてください。Sciter バージョンをビルドするには:

View File

@@ -7,10 +7,10 @@ Existem várias maneiras de fazer isso, este guia assume que `Xcode`, `Git` e `H
O maior desafio é provavelmente encontrar versões de todas as ferramentas que funcionem juntas, especialmente desde que partes da cadeia de ferramentas como Xcode e LLVM são ditadas pela sua versão do macOS. As versões usadas neste guia provavelmente não são as que você deve usar. Como ponto de partida para descobrir quais versões usar, consulte o [workflow de compilação do GitHub](https://github.com/rustdesk/rustdesk/blob/master/.github/workflows/flutter-build.yml) para a versão RustDesk que você quer compilar. Escolha a tag para ver o arquivo no canto superior esquerdo da página. Mas isso não necessariamente funcionará porque as ferramentas do macOS que vêm com o runner do GitHub podem não ser as mesmas versões que as do seu sistema local.
#### Export
### Export
`export` é usado para definir várias variáveis ambientais. Quando você executa `export`, essa variável é definida apenas para a sessão atual do terminal, e essas devem ser repetidas para cada nova janela do terminal que você quiser usar para compilar RustDesk, agora ou no futuro. Geralmente, é preferível adicionar todos os `export`s a um script que é executado automaticamente para cada terminal que é aberto, por exemplo `~/.bash_profile`. Os comandos `export` completos listados aqui podem simplesmente ser anexados ao arquivo, mas também devem ser executados no terminal atual porque o arquivo não é lido até que um *novo* terminal seja aberto.
### Instalar as ferramentas que vamos usar do Homebrew
## Instalar as ferramentas que vamos usar do Homebrew
```sh
brew install python3 create-dmg nasm cmake gcc wget ninja pkg-config wget rustup
@@ -23,7 +23,7 @@ sudo chown <nome_usuario>:admin /usr/local/include
sudo chmod 775 /usr/local/include
```
### Instalar vcpkg
## Instalar vcpkg
Vcpkg é usado para gerenciar as dependências C/C++ usadas pelo RustDesk. Decida onde você quer a instalação e execute o seguinte da pasta na qual você quer que a pasta `vcpkg` resida. Neste exemplo `/Users/<nome_usuario>/repos/` é usado como localização, e a tag `2023.04.15` é usada como versão.
```sh
@@ -35,7 +35,7 @@ git checkout 2023.04.15
export VCPKG_ROOT=~/repos/vcpkg
```
### Instalar e configurar Rust
## Instalar e configurar Rust
Usamos `rustup` para gerenciar o Rust, que já foi instalado acima usando Homebrew. Mas, ainda precisa ser configurado. Siga as instruções e certifique-se de que tanto `rustup` quanto `rustc` estão no `PATH`. Neste exemplo usamos a versão `1.75.0` do Rust, mas você pode precisar usar uma versão diferente. Você pode instalar e gerenciar múltiplas versões do Rust com `rustup`.
```sh
@@ -45,7 +45,7 @@ rustup component add rustfmt
```
Para uma visão geral sobre as cadeias de ferramentas Rust instaladas e padrão, execute `rustup show`.
### Baixar os arquivos fonte do RustDesk
## Baixar os arquivos fonte do RustDesk
Decida onde você quer os arquivos fonte do RustDesk e execute o seguinte da pasta na qual você quer que a pasta `rustdesk` resida. Neste exemplo `/Users/<nome_usuario>/repos/` é usado como localização.
@@ -62,17 +62,17 @@ export PATH=~/Library/Python/3.9/bin:$PATH
```
Uma vez feito isso, execute o(s) comando(s) falhado(s) novamente. Lembre-se de também editar `~/.bash_profile`.
### Instalar componentes da interface do usuário
## Instalar componentes da interface do usuário
RustDesk pode ser compilado usando tanto [Sciter](https://sciter.com/) quanto [Flutter](https://flutter.dev/). Ambos precisam de componentes adicionais, então siga os passos para a versão relevante, ou ambos.
#### Sciter
### Sciter
Da pasta `rustdesk`, execute:
```sh
wget https://github.com/c-smile/sciter-sdk/raw/master/bin.osx/libsciter.dylib
```
#### Flutter
### Flutter
[FVM](https://fvm.app/) permite gerenciar qual versão do Flutter é usada, e é provavelmente a maneira mais fácil de poder facilmente testar diferentes versões do Flutter.
@@ -106,7 +106,7 @@ Uma vez que o Flutter esteja funcionando, é hora de instalar a "ponte" que liga
cargo install flutter_rust_bridge_codegen --version "1.80.1" --features "uuid"
```
### Compilar
## Compilar
Compile da pasta `rustdesk`. Compile a versão Sciter com:

View File

@@ -7,10 +7,10 @@ weight: 21
最大的挑战可能是找到所有能够协同工作的工具版本,特别是因为工具链的某些部分(如 Xcode 和 LLVM由您的 macOS 版本决定。本指南中使用的版本可能不是您应该使用的版本。确定使用什么版本的起点是查看您想要构建的 RustDesk 版本的 [GitHub 构建工作流](https://github.com/rustdesk/rustdesk/blob/master/.github/workflows/flutter-build.yml)。在页面左上角选择要查看文件的标签。但这可能不一定有效,因为 GitHub 运行器附带的 macOS 工具可能与您本地系统上的版本不同。
#### Export
### Export
`export` 用于设置各种环境变量。当您运行 `export` 时,该变量仅为当前终端会话设置,因此必须在每个新的终端窗口中重复这些设置,无论是现在还是将来想要构建 RustDesk 时。通常,最好将所有 `export` 添加到为每个打开的终端自动执行的脚本中,例如 `~/.bash_profile`。这里列出的完整 `export` 命令可以简单地追加到文件中,但也必须在当前终端中运行,因为文件在打开*新*终端之前不会被读取。
### 从 Homebrew 安装我们要使用的工具
## 从 Homebrew 安装我们要使用的工具
```sh
brew install python3 create-dmg nasm cmake gcc wget ninja pkg-config wget rustup
@@ -23,7 +23,7 @@ sudo chown <username>:admin /usr/local/include
sudo chmod 775 /usr/local/include
```
### 安装 vcpkg
## 安装 vcpkg
Vcpkg 用于管理 RustDesk 使用的 C/C++ 依赖项。决定您希望安装的位置,并从您希望 `vcpkg` 文件夹所在的文件夹运行以下命令。在此示例中,使用 `/Users/<username>/repos/` 作为位置,使用标签 `2023.04.15` 作为版本。
```sh
@@ -35,7 +35,7 @@ git checkout 2023.04.15
export VCPKG_ROOT=~/repos/vcpkg
```
### 安装和配置 Rust
## 安装和配置 Rust
我们使用 `rustup` 来管理 Rust它已经通过上面的 Homebrew 安装了。但是,它仍然需要配置。按照说明操作,并确保 `rustup``rustc` 都在 `PATH` 中。在这个示例中我们使用 Rust 版本 `1.75.0`,但您可能需要使用不同的版本。您可以使用 `rustup` 安装和管理多个版本的 Rust。
```sh
@@ -45,7 +45,7 @@ rustup component add rustfmt
```
要查看已安装和默认的 Rust 工具链概述,请运行 `rustup show`
### 下载 RustDesk 源文件
## 下载 RustDesk 源文件
决定您希望 RustDesk 源文件的位置,并从您希望 `rustdesk` 文件夹所在的文件夹运行以下命令。在此示例中,使用 `/Users/<username>/repos/` 作为位置。
@@ -62,17 +62,17 @@ export PATH=~/Library/Python/3.9/bin:$PATH
```
完成后,再次运行失败的命令。记住也要编辑 `~/.bash_profile`
### 安装用户界面组件
## 安装用户界面组件
RustDesk 可以使用 [Sciter](https://sciter.com/) 和 [Flutter](https://flutter.dev/) 构建。这两者都需要额外的组件,因此请按照相关版本或两者的步骤进行操作。
#### Sciter
### Sciter
`rustdesk` 文件夹运行:
```sh
wget https://github.com/c-smile/sciter-sdk/raw/master/bin.osx/libsciter.dylib
```
#### Flutter
### Flutter
[FVM](https://fvm.app/) 让您管理使用的 Flutter 版本,可能是能够轻松尝试不同 Flutter 版本的最简单方法。
@@ -106,7 +106,7 @@ Flutter 启动并运行后,就该安装将 Rust 和 Flutter 绑定在一起的
cargo install flutter_rust_bridge_codegen --version "1.80.1" --features "uuid"
```
### 构建
## 构建
`rustdesk` 文件夹构建。构建 Sciter 版本:

View File

@@ -7,18 +7,18 @@ weight: 20
Die Kommandos in der Befehlszeile müssen in Git Bash und nicht in der Eingabeaufforderung ausgeführt werden, da sonst Syntaxfehler auftreten.
{{% /notice %}}
### Abhängigkeiten
## Abhängigkeiten
#### C++-Build-Umgebung
### C++-Build-Umgebung
Laden Sie [Visual Studio](https://visualstudio.microsoft.com/) herunter und installieren Sie es.
Wählen Sie `Windows` als Betriebssystem für die Entwicklungsmaschine und markieren Sie `C++`, laden Sie dann die Visual Studio Community-Version herunter und installieren Sie sie. Die Installation kann eine Weile dauern.
#### Rust-Entwicklungsumgebung
### Rust-Entwicklungsumgebung
Laden Sie [rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe) herunter und führen Sie es als Administrator aus, um `rust` zu installieren.
#### vcpkg
### vcpkg
Gehen Sie in den Ordner, in den Sie `vcpkg` klonen wollen, und verwenden Sie [Git Bash](https://git-scm.com/download/win), um die folgenden Befehle auszuführen: Laden Sie `vcpkg` herunter, installieren Sie die 64-Bit-Version von `libvpx`, `libyuv` und `opus`.
Wenn Sie `Git` nicht installiert haben, holen Sie sich es [hier](https://git-scm.com/download/win).
@@ -37,19 +37,19 @@ Fügen Sie die Systemumgebungsvariable `VCPKG_ROOT`=`<pfad>\vcpkg` hinzu. `<pfad
![](/docs/en/dev/build/windows/images/env.png)
#### Sciter
### Sciter
Desktop-Versionen verwenden [Sciter](https://sciter.com/) für die Benutzeroberfläche, bitte laden Sie [sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll) herunter.
#### LLVM
### LLVM
`rust-bindgen` hängt von `clang` ab, laden Sie [LLVM](https://github.com/llvm/llvm-project/releases) herunter und installieren Sie es. Fügen Sie die Systemumgebungsvariable `LIBCLANG_PATH`=`<llvm_install_dir>/bin` hinzu.
Sie können die Version 15.0.2 der LLVM-Binärdateien hier herunterladen: [64 Bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe) / [32 Bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win32.exe).
### Erstellen
## Erstellen
#### Standard
### Standard
```sh
git clone --recurse-submodules https://github.com/rustdesk/rustdesk

View File

@@ -7,18 +7,18 @@ weight: 20
The command line commands here must be run in Git Bash not command prompt or you will get syntax errors.
{{% /notice %}}
### Dependencies
## Dependencies
#### C++ build environment
### C++ build environment
Download [MSVC](https://visualstudio.microsoft.com/) and install.
Select `Windows` as Developer machine OS and check `C++`, then download Visual Studio Community version and install. The installation may take a while.
#### Rust develop environment
### Rust develop environment
Download [rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe) and run it as administrator to install `rust`.
#### vcpkg
### vcpkg
Go to the folder you want to clone vcpkg and use [Git Bash](https://git-scm.com/download/win) to run the following commands, download `vcpkg`, install 64-bit version of `libvpx`, `libyuv` and `opus`.
If you don't have `Git` installed, get `Git` [here](https://git-scm.com/download/win).
@@ -34,19 +34,19 @@ Add System environment variable `VCPKG_ROOT`=`<path>\vcpkg`. The `<path>` should
![](/docs/en/dev/build/windows/images/env.png)
#### Sciter
### Sciter
Desktop versions use [Sciter](https://sciter.com/) for GUI, please download [sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll).
#### LLVM
### LLVM
`rust-bindgen` depends on `clang`, download [LLVM](https://github.com/llvm/llvm-project/releases) and install, add System environment variable `LIBCLANG_PATH`=`<llvm_install_dir>/bin`.
You can download version 15.0.2 of the LLVM binaries here: [64 bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe) / [32 bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win32.exe).
### Build
## Build
#### Default
### Default
```sh
git clone --recurse-submodules https://github.com/rustdesk/rustdesk

View File

@@ -3,17 +3,17 @@ title: Windows
weight: 20
---
## Dependencias
# Dependencias
### Entorno de compilación C++
## Entorno de compilación C++
Descargar [msvc](https://visualstudio.microsoft.com/) e instalar.
### Entorno de desarrollo Rust
## Entorno de desarrollo Rust
Descargar [rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe) e instalar.
### vcpkg
## vcpkg
Usar [git-bash](https://git-scm.com/download/win) para ejecutar los siguientes comandos download `vcpkg`, install `libvpx`, `libyuv`, `opus`.
@@ -31,19 +31,19 @@ Agregar variable de entorno `VCPKG_ROOT`=`<path>\vcpkg`.
![](/docs/en/dev/build/windows/images/env.png)
### sciter
## sciter
Uso de versiones de escritorio [sciter](https://sciter.com/) para GUI, descargue [sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll)
### llvm
## llvm
rust-bindgen depende del clang, descargar [llvm](https://github.com/llvm/llvm-project/releases) e instalar, agregar variable de entorno `LIBCLANG_PATH`=`<llvm_install_dir>/bin`.
## Construir
# Construir
### Por defecto
## Por defecto
```sh
git clone --recurse-submodules https://github.com/rustdesk/rustdesk

View File

@@ -8,17 +8,17 @@ weight: 20
Les lignes de commande ce dessous doivent être exécutées dans `git-bash` et non dans "l'invite de commande", sinon vous obtiendrez des erreurs de syntaxe.
{{% /notice %}}
## Dépendances
# Dépendances
### Environnement de compilation C++
## Environnement de compilation C++
Télécharger et installer [msvc](https://visualstudio.microsoft.com/).
Sélectionner "Windows" en tant que système d'exploitation de la machine de développement et "C++", puis téléchargez la version Visual Studio Community et installez-la. L'installation peut prendre un certain temps.
### Environnement de développement Rust
## Environnement de développement Rust
Téléchargez et exécuter en tant qu'administrateur pour installer "rust" [rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe)
### vcpkg
## vcpkg
Accédez au dossier dans lequel vous souhaitez cloner vcpkg et utilisez [git-bash](https://git-scm.com/download/win) afin d'exécuter les commandes données ci après qui permettrons de télécharger "vcpkg", et installer la version 64 bits de "libvpx", "libyuv" et "opus".
Si vous n'avez pas installé "git", téléchargez le [ici](https://git-scm.com/download/win).
@@ -36,18 +36,18 @@ Ajoutez la variable d'environnement système `VCPKG_ROOT=<chemin>\vcpkg`. Le "\<
![](/docs/en/dev/build/windows/images/env.png)
### sciter
## sciter
Les versions Bureau utilisent la bibliothèque [sciter](https://sciter.com/) pour l'interface graphique. Téléchargez [sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll)
### llvm
## llvm
rust-bindgen dépend de clang, téléchargez et installez [llvm](https://github.com/llvm/llvm-project/releases), ajoutez la variable d'environnement système `LIBCLANG_PATH=<llvm_install_dir>/bin`.
Vous pouvez télécharger LLVM 15.02 ici : [64-bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe) / [32-bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win32.exe)
## Compilation
# Compilation
```sh
git clone --recurse-submodules https://github.com/rustdesk/rustdesk

View File

@@ -7,18 +7,18 @@ weight: 20
I comandi da riga di comando qui mostrati devono essere eseguiti in Git Bash e non nel prompt dei comandi, altrimenti si verificheranno errori di sintassi.
{{% /notice %}}
### Dipendenze
## Dipendenze
#### Ambiente di build C++
### Ambiente di build C++
Scarica [MSVC](https://visualstudio.microsoft.com/) e installalo.
Seleziona `Windows` come OS della macchina di sviluppo e spunta `C++`, quindi scarica la versione Visual Studio Community e installala. L'installazione potrebbe richiedere un po' di tempo.
#### Ambiente di sviluppo Rust
### Ambiente di sviluppo Rust
Scarica [rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe) ed eseguilo come amministratore per installare `rust`.
#### vcpkg
### vcpkg
Vai nella cartella dove vuoi clonare vcpkg e usa [Git Bash](https://git-scm.com/download/win) per eseguire i seguenti comandi, per scaricare `vcpkg` e installare le versioni a 64 bit di `libvpx`, `libyuv` e `opus`.
Se non hai `Git` installato, scarica `Git` [qui](https://git-scm.com/download/win).
@@ -34,19 +34,19 @@ Aggiungi la variabile d'ambiente di sistema `VCPKG_ROOT`=`<path>\vcpkg`. Il `<pa
![](/docs/en/dev/build/windows/images/env.png)
#### Sciter
### Sciter
Le versioni desktop utilizzano [Sciter](https://sciter.com/) per la GUI, per favore scarica [sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll).
#### LLVM
### LLVM
`rust-bindgen` dipende da `clang`, scarica [LLVM](https://github.com/llvm/llvm-project/releases) e installalo, aggiungi la variabile d'ambiente di sistema `LIBCLANG_PATH`=`<llvm_install_dir>/bin`.
Puoi scaricare la versione 15.0.2 dei binari LLVM qui: [64 bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe) / [32 bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win32.exe).
### Build
## Build
#### Predefinito
### Predefinito
```sh
git clone --recurse-submodules https://github.com/rustdesk/rustdesk

View File

@@ -7,18 +7,18 @@ weight: 20
ここに示すコマンドライン指示は、コマンドプロンプトではなく Git Bash で実行する必要があります。そうしないと構文エラーが発生します。
{{% /notice %}}
### 依存関係
## 依存関係
#### C++ ビルド環境
### C++ ビルド環境
[MSVC](https://visualstudio.microsoft.com/) をダウンロードしてインストールします。
開発者マシンOS として `Windows` を選択し、`C++` をチェックしてから、Visual Studio Community版をダウンロードしてインストールします。インストールには時間がかかる場合があります。
#### Rust開発環境
### Rust開発環境
[rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe) をダウンロードし、管理者として実行して `rust` をインストールします。
#### vcpkg
### vcpkg
vcpkg をクローンしたいフォルダに移動し、[Git Bash](https://git-scm.com/download/win) を使用して以下のコマンドを実行し、`vcpkg` をダウンロードして、64ビット版の `libvpx``libyuv``opus` をインストールします。
`Git` がインストールされていない場合は、[こちら](https://git-scm.com/download/win) から `Git` を入手してください。
@@ -34,19 +34,19 @@ vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64
![](/docs/en/dev/build/windows/images/env.png)
#### Sciter
### Sciter
デスクトップ版は GUI に [Sciter](https://sciter.com/) を使用しています。[sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll) をダウンロードしてください。
#### LLVM
### LLVM
`rust-bindgen``clang` に依存しています。[LLVM](https://github.com/llvm/llvm-project/releases) をダウンロードしてインストールし、システム環境変数 `LIBCLANG_PATH`=`<llvm_install_dir>/bin` を追加します。
LLVM バイナリ版 15.0.2 はこちらからダウンロードできます: [64 bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe) / [32 bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win32.exe)
### ビルド
## ビルド
#### デフォルト
### デフォルト
```sh
git clone --recurse-submodules https://github.com/rustdesk/rustdesk

View File

@@ -7,18 +7,18 @@ weight: 20
Os comandos de linha de comando aqui devem ser executados no Git Bash, não no prompt de comando, ou você receberá erros de sintaxe.
{{% /notice %}}
### Dependências
## Dependências
#### Ambiente de compilação C++
### Ambiente de compilação C++
Baixe [MSVC](https://visualstudio.microsoft.com/) e instale.
Selecione `Windows` como SO da máquina de desenvolvimento e marque `C++`, depois baixe a versão Visual Studio Community e instale. A instalação pode demorar um pouco.
#### Ambiente de desenvolvimento Rust
### Ambiente de desenvolvimento Rust
Baixe [rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe) e execute como administrador para instalar `rust`.
#### vcpkg
### vcpkg
Vá para a pasta onde você quer clonar o vcpkg e use [Git Bash](https://git-scm.com/download/win) para executar os seguintes comandos, baixar `vcpkg`, instalar versão 64-bit de `libvpx`, `libyuv` e `opus`.
Se você não tem `Git` instalado, obtenha o `Git` [aqui](https://git-scm.com/download/win).
@@ -34,19 +34,19 @@ Adicione variável de ambiente do Sistema `VCPKG_ROOT`=`<path>\vcpkg`. O `<path>
![](/docs/en/dev/build/windows/images/env.png)
#### Sciter
### Sciter
As versões desktop usam [Sciter](https://sciter.com/) para GUI, por favor baixe [sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll).
#### LLVM
### LLVM
`rust-bindgen` depende de `clang`, baixe [LLVM](https://github.com/llvm/llvm-project/releases) e instale, adicione variável de ambiente do Sistema `LIBCLANG_PATH`=`<llvm_install_dir>/bin`.
Você pode baixar a versão 15.0.2 dos binários LLVM aqui: [64 bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe) / [32 bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win32.exe).
### Compilar
## Compilar
#### Padrão
### Padrão
```sh
git clone --recurse-submodules https://github.com/rustdesk/rustdesk

View File

@@ -3,16 +3,16 @@ title: Windows
weight: 20
---
## 依赖
# 依赖
### C++编译环境
## C++编译环境
推荐下载[msvc](https://visualstudio.microsoft.com/)并安装
### Rust 开发环境
## Rust 开发环境
下载[rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe)并安装
### vcpkg
## vcpkg
使用[git-bash](https://git-scm.com/download/win)运行下列命令, 下载`vcpkg`, 安装`libvpx`, `libyuv`, `opus`
@@ -30,17 +30,17 @@ weight: 20
![](/docs/en/dev/build/windows/images/env.png)
### Sciter
## Sciter
桌面版本使用[sciter](https://sciter.com/) , 下载动态库[sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll)
### llvm
## llvm
rust-bindgen依赖于clang, 下载[llvm](https://github.com/llvm/llvm-project/releases)并安装, 添加环境变量`LIBCLANG_PATH`,值为`<llvm_install_dir>/bin`
## 构建
# 构建
```sh
git clone --recurse-submodules https://github.com/rustdesk/rustdesk

View File

@@ -7,17 +7,17 @@ weight: 20
此處的所有指令皆須在 git-bash 中執行,而非命令提示字元,否則您會遇到語法錯誤。
{{% /notice %}}
## 依賴
# 依賴
### C++ 編譯環境
## C++ 編譯環境
下載 [msvc](https://visualstudio.microsoft.com/) 並安裝。
選擇 `Windows` 作為開發機作業系統,並勾選 `C++`。然後下載 Visual Studo 社群版並安裝。安裝可能需要一段時間。
### Rust 開發環境
## Rust 開發環境
下載 [rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe),以管理員身份執行並安裝。
### vcpkg
## vcpkg
使用[git-bash](https://git-scm.com/download/win)執行下列指令,下載 `vcpkg`,安裝`libvpx``libyuv``opus`
如果您尚未安裝 `git`,請在[](https://git-scm.com/download/win)下載。
@@ -36,19 +36,19 @@ weight: 20
![](/docs/en/dev/build/windows/images/env.png)
### Sciter
## Sciter
桌面版本的介面使用 [sciter](https://sciter.com/),請下載 [sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll)
### llvm
## llvm
rust-bindgen 依賴 clang下載 [llvm](https://github.com/llvm/llvm-project/releases) 並安裝,加入系統環境變數 `LIBCLANG_PATH`=`<llvm_install_dir>/bin`
您可以在此下載 LLVM 15.02 版本的安裝包:[64 位元](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe) / [32 位元](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win32.exe)
## 編譯
# 編譯
### 預設
## 預設
```sh
git clone --recurse-submodules https://github.com/rustdesk/rustdesk