add french translations / fix synology typo / little fix css

This commit is contained in:
Jimmy GALLAND
2023-01-15 16:26:39 +01:00
parent 0caa18a18b
commit c503cd0a1e
50 changed files with 797 additions and 38 deletions

View File

@@ -15,7 +15,7 @@ Download [rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-wi
### vcpkg
Go to the folder you want to clong vcpkg and use [git-bash](https://git-scm.com/download/win) to run the following commands download `vcpkg`, install 64bit version of `libvpx`, `libyuv` and `opus`.
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 64bit version of `libvpx`, `libyuv` and `opus`.
If you don't have `git` installed, get `git` [here](https://git-scm.com/download/win).
```shell

View File

@@ -3,4 +3,51 @@ title: Windows
weight: 20
---
[English](/docs/en/dev/build/windows)
## Dépendances
### 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
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
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).
```shell
git clone https://github.com/microsoft/vcpkg
cd vcpkg
git checkout 2021.12.01
cd ..
vcpkg/bootstrap-vcpkg.bat
export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static
```
Ajoutez la variable d'environnement système `VCPKG_ROOT=<chemin>\vcpkg`. Le "\<chemin\>" devra être l'emplacement que vous avez choisi ci-dessus pour cloner "vcpkg".
![](/docs/en/dev/build/windows/images/env.png)
### 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
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
```sh
git clone https://github.com/rustdesk/rustdesk
cd rustdesk
mkdir -p target/debug
mv sciter.dll target/debug
cargo run
```