mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-06-25 04:02:04 +02:00
Update _index.en.md
This commit is contained in:
parent
72fc12db5f
commit
67dfb77bdb
@ -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.
|
The command line commands here must be run in Git Bash not command prompt or you will get syntax errors.
|
||||||
{{% /notice %}}
|
{{% /notice %}}
|
||||||
|
|
||||||
## Dependencies
|
### Dependencies
|
||||||
|
|
||||||
### C++ build environment
|
#### C++ build environment
|
||||||
|
|
||||||
Download [MSVC](https://visualstudio.microsoft.com/) and install.
|
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.
|
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`.
|
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`.
|
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).
|
If you don't have `Git` installed, get `Git` [here](https://git-scm.com/download/win).
|
||||||
@ -37,19 +37,19 @@ Add System environment variable `VCPKG_ROOT`=`<path>\vcpkg`. The `<path>` should
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
### 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).
|
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`.
|
`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.02 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).
|
You can download version 15.02 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
|
```sh
|
||||||
git clone https://github.com/rustdesk/rustdesk
|
git clone https://github.com/rustdesk/rustdesk
|
||||||
@ -59,3 +59,4 @@ wget https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sci
|
|||||||
mv sciter.dll target/debug
|
mv sciter.dll target/debug
|
||||||
cargo run
|
cargo run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user