mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-08-09 00:25:00 +02:00
small change
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: FAQ
|
||||
weight: 20
|
||||
weight: 40
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/faq)
|
@ -1,11 +1,11 @@
|
||||
---
|
||||
title: FAQ
|
||||
weight: 20
|
||||
title: FAQ for Windows
|
||||
weight: 40
|
||||
---
|
||||
|
||||
## vcpkg download package failed
|
||||
|
||||
### error
|
||||
### Error
|
||||
|
||||
```
|
||||
-- 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
|
||||
```
|
||||
|
||||
### 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.
|
||||
|
||||
|
||||
|
||||
## package in Cargo.lock not exist
|
||||
## Package in Cargo.lock not exist
|
||||
|
||||
### error
|
||||
### Error
|
||||
|
||||
```
|
||||
$ cargo run
|
||||
@ -42,7 +42,7 @@ $ cargo run
|
||||
|
||||
Maybe the author used `git force push` and the previous commit was overwritten.
|
||||
|
||||
### solution
|
||||
### Solution
|
||||
|
||||
`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
|
||||
|
||||
### 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
|
||||
```
|
||||
|
||||
### 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
|
||||
|
||||
### 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
|
||||
```
|
||||
|
||||
### solution
|
||||
### Solution
|
||||
|
||||
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
|
||||
weight: 20
|
||||
weight: 40
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/faq)
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: FAQ
|
||||
weight: 20
|
||||
weight: 40
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/faq)
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: FAQ
|
||||
weight: 20
|
||||
weight: 40
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/faq)
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: FAQ
|
||||
weight: 20
|
||||
weight: 40
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/faq)
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: FAQ
|
||||
weight: 20
|
||||
weight: 40
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/faq)
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 常见问题
|
||||
weight: 20
|
||||
title: Windows 常见问题
|
||||
weight: 40
|
||||
---
|
||||
|
||||
## 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
|
||||
```
|
||||
### 解决办法
|
||||
添加VCPKG_ROOT环境变量, 或者使用`VCPKG_ROOT=vcpkg_dir cargo run`
|
||||
添加VCPKG_ROOT环境变量, 或者使用`VCPKG_ROOT=<vcpkg_dir> cargo run`
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: 常見問題
|
||||
weight: 20
|
||||
title: Windows 常見問題
|
||||
weight: 40
|
||||
---
|
||||
|
||||
## 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`
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user