This commit is contained in:
rustdesk
2022-05-09 14:52:18 +08:00
parent fbc097d685
commit a56431b5c6
8 changed files with 39 additions and 33 deletions

View File

@@ -14,7 +14,7 @@ Download [rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-wi
### vcpkg
Use `git-bash` to run the following commands download `vcpkg`, install `libvpx`, `libyuv`, `opus`.
Use [git-bash](https://git-scm.com/download/win) to run the following commands download `vcpkg`, install `libvpx`, `libyuv`, `opus`.
```shell
git clone https://github.com/microsoft/vcpkg
@@ -26,7 +26,9 @@ Use `git-bash` to run the following commands download `vcpkg`, install `libvp
vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static
```
Add environment variable `VCPKG_ROOT`=`vcpkg_dir`.
Add environment variable `VCPKG_ROOT`=`<path>\vcpkg`.
![](/docs/en/dev/build/windows/images/env.png)
### sciter
@@ -34,7 +36,7 @@ Desktop versions use [sciter](https://sciter.com/) for GUI, please download [sci
### llvm
rust-bindgen depends on clang, download [llvm](https://github.com/llvm/llvm-project/releases) and installadd environment variable `LIBCLANG_PATH`=`llvm_install_dir/bin`.
rust-bindgen depends on clang, download [llvm](https://github.com/llvm/llvm-project/releases) and installadd environment variable `LIBCLANG_PATH`=`<llvm_install_dir>/bin`.

View File

@@ -14,7 +14,7 @@ weight: 20
### vcpkg
使用`git-bash`运行下列命令, 下载`vcpkg`, 安装`libvpx`, `libyuv`, `opus`
使用[git-bash](https://git-scm.com/download/win)运行下列命令, 下载`vcpkg`, 安装`libvpx`, `libyuv`, `opus`
```shell
git clone https://github.com/microsoft/vcpkg
@@ -26,7 +26,9 @@ weight: 20
vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static
```
添加环境变量`VCPKG_ROOT`=`vcpkg_dir`
添加环境变量`VCPKG_ROOT`=`<path>\vcpkg`
![](/docs/en/dev/build/windows/images/env.png)
### sciter
@@ -34,7 +36,7 @@ weight: 20
### llvm
rust-bindgen依赖于clang, 下载[llvm](https://github.com/llvm/llvm-project/releases)并安装, 添加环境变量`LIBCLANG_PATH`,值为`llvm_install_dir/bin`
rust-bindgen依赖于clang, 下载[llvm](https://github.com/llvm/llvm-project/releases)并安装, 添加环境变量`LIBCLANG_PATH`,值为`<llvm_install_dir>/bin`

View File

@@ -14,7 +14,7 @@ weight: 20
### vcpkg
使用`git-bash`運行下列命令, 下載`vcpkg`, 安裝`libvpx`, `libyuv`, `opus`
使用[git-bash](https://git-scm.com/download/win)運行下列命令, 下載`vcpkg`, 安裝`libvpx`, `libyuv`, `opus`
```shell
git clone https://github.com/microsoft/vcpkg
@@ -26,7 +26,9 @@ weight: 20
vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static
```
添加環境變量`VCPKG_ROOT`=`vcpkg_dir`
添加環境變量`VCPKG_ROOT`=`<path>\vcpkg`
![](/docs/en/dev/build/windows/images/env.png)
### sciter
@@ -34,7 +36,7 @@ weight: 20
### llvm
rust-bindgen依赖于clang, 下載[llvm](https://github.com/llvm/llvm-project/releases)並安裝, 添加環境變量`LIBCLANG_PATH` 值為`llvm_install_dir/bin`
rust-bindgen依赖于clang, 下載[llvm](https://github.com/llvm/llvm-project/releases)並安裝, 添加環境變量`LIBCLANG_PATH` 值為`<llvm_install_dir>/bin`

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB