mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-02-03 20:09:34 +01:00
small change
This commit is contained in:
parent
a56431b5c6
commit
4f6d2fd91e
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: FAQ
|
title: FAQ
|
||||||
weight: 20
|
weight: 40
|
||||||
---
|
---
|
||||||
|
|
||||||
[English](/docs/en/dev/build/faq)
|
[English](/docs/en/dev/build/faq)
|
@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
title: FAQ
|
title: FAQ for Windows
|
||||||
weight: 20
|
weight: 40
|
||||||
---
|
---
|
||||||
|
|
||||||
## vcpkg download package failed
|
## vcpkg download package failed
|
||||||
|
|
||||||
### error
|
### Error
|
||||||
|
|
||||||
```
|
```
|
||||||
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
|
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
|
||||||
@ -13,15 +13,15 @@ weight: 20
|
|||||||
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
|
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 `https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz`, then move it into `vcpkg/downloads` and reinstall.
|
Use a browser to download `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
|
$ cargo run
|
||||||
@ -42,7 +42,7 @@ $ cargo run
|
|||||||
|
|
||||||
Maybe the author used `git force push` and the previous commit was overwritten.
|
Maybe the author used `git force push` and the previous commit was overwritten.
|
||||||
|
|
||||||
### solution
|
### Solution
|
||||||
|
|
||||||
`cargo update`, force the package to be updated
|
`cargo update`, force the package to be updated
|
||||||
|
|
||||||
@ -50,26 +50,26 @@ Maybe the author used `git force push` and the previous commit was overwritten.
|
|||||||
|
|
||||||
## 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
|
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`
|
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
|
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`
|
Install [llvm](https://releases.llvm.org/download.html), Add the `LIBCLANG_PATH` environment variable as `llvm_install_dir/bin`
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: FAQ
|
title: FAQ
|
||||||
weight: 20
|
weight: 40
|
||||||
---
|
---
|
||||||
|
|
||||||
[English](/docs/en/dev/build/faq)
|
[English](/docs/en/dev/build/faq)
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: FAQ
|
title: FAQ
|
||||||
weight: 20
|
weight: 40
|
||||||
---
|
---
|
||||||
|
|
||||||
[English](/docs/en/dev/build/faq)
|
[English](/docs/en/dev/build/faq)
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: FAQ
|
title: FAQ
|
||||||
weight: 20
|
weight: 40
|
||||||
---
|
---
|
||||||
|
|
||||||
[English](/docs/en/dev/build/faq)
|
[English](/docs/en/dev/build/faq)
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: FAQ
|
title: FAQ
|
||||||
weight: 20
|
weight: 40
|
||||||
---
|
---
|
||||||
|
|
||||||
[English](/docs/en/dev/build/faq)
|
[English](/docs/en/dev/build/faq)
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: FAQ
|
title: FAQ
|
||||||
weight: 20
|
weight: 40
|
||||||
---
|
---
|
||||||
|
|
||||||
[English](/docs/en/dev/build/faq)
|
[English](/docs/en/dev/build/faq)
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: 常见问题
|
title: Windows 常见问题
|
||||||
weight: 20
|
weight: 40
|
||||||
---
|
---
|
||||||
|
|
||||||
## vcpkg下载包失败
|
## vcpkg下载包失败
|
||||||
@ -45,7 +45,7 @@ $ cargo run
|
|||||||
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
|
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`
|
添加VCPKG_ROOT环境变量, 或者使用`VCPKG_ROOT=<vcpkg_dir> cargo run`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: 常見問題
|
title: Windows 常見問題
|
||||||
weight: 20
|
weight: 40
|
||||||
---
|
---
|
||||||
|
|
||||||
## vcpkg下載包失敗
|
## vcpkg下載包失敗
|
||||||
@ -58,7 +58,7 @@ thread 'main' panicked at 'Failed to find package: VcpkgNotFound("No vcpkg insta
|
|||||||
|
|
||||||
### 解決辦法
|
### 解決辦法
|
||||||
|
|
||||||
添加VCPKG_ROOT環境變量, 或者使用`VCPKG_ROOT=vcpkg_dir cargo run`
|
添加VCPKG_ROOT環境變量, 或者使用`VCPKG_ROOT=<vcpkg_dir> cargo run`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ weight: 20
|
|||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
### c++ build environment
|
### C++ build environment
|
||||||
|
|
||||||
Download [msvc](https://visualstudio.microsoft.com/) and install.
|
Download [msvc](https://visualstudio.microsoft.com/) and install.
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ weight: 20
|
|||||||
|
|
||||||
## 依赖
|
## 依赖
|
||||||
|
|
||||||
### c++编译环境
|
### C++编译环境
|
||||||
|
|
||||||
推荐下载[msvc](https://visualstudio.microsoft.com/)并安装
|
推荐下载[msvc](https://visualstudio.microsoft.com/)并安装
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ weight: 20
|
|||||||
|
|
||||||
![](/docs/en/dev/build/windows/images/env.png)
|
![](/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)
|
桌面版本使用[sciter](https://sciter.com/) , 下载动态库[sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ weight: 20
|
|||||||
|
|
||||||
## 依賴
|
## 依賴
|
||||||
|
|
||||||
### c++編譯環境
|
### C++編譯環境
|
||||||
|
|
||||||
推薦下載[msvc](https://visualstudio.microsoft.com/)並安裝
|
推薦下載[msvc](https://visualstudio.microsoft.com/)並安裝
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ weight: 20
|
|||||||
|
|
||||||
![](/docs/en/dev/build/windows/images/env.png)
|
![](/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)
|
桌面版本使用[sciter](https://sciter.com/) , 下載動態庫[sciter.dll](https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user