mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-06-08 10:46:50 +02:00
Add some details to make it easier to follow.
Rephrase some sentences and added some details based on my own experience following the guide, hopefully make it more clear and easy to follow.
This commit is contained in:
parent
6d67c64e17
commit
6fb1ef5fa3
@ -8,13 +8,15 @@ weight: 20
|
|||||||
### 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 Studo 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 install.
|
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
|
||||||
|
|
||||||
Use [git-bash](https://git-scm.com/download/win) to run the following commands, download `vcpkg`, install `libvpx`, `libyuv`, `opus`.
|
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`.
|
||||||
|
If you don't have `git` installed, get `git` [here](https://git-scm.com/download/win).
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/microsoft/vcpkg
|
git clone https://github.com/microsoft/vcpkg
|
||||||
@ -26,7 +28,7 @@ Use [git-bash](https://git-scm.com/download/win) to run the following commands
|
|||||||
vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static
|
vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static
|
||||||
```
|
```
|
||||||
|
|
||||||
Add environment variable `VCPKG_ROOT`=`<path>\vcpkg`.
|
Add System environment variable `VCPKG_ROOT`=`<path>\vcpkg`. The `<path>` should be the folder you choosed above.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -36,7 +38,7 @@ Desktop versions use [sciter](https://sciter.com/) for GUI, please download [sci
|
|||||||
|
|
||||||
### llvm
|
### llvm
|
||||||
|
|
||||||
rust-bindgen depends on clang, download [llvm](https://github.com/llvm/llvm-project/releases) and install,add 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 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 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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user