mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-08-16 03:27:50 +02:00
update zh-tw translation
This commit is contained in:
@ -3,9 +3,9 @@ title: Windows 常見問題
|
||||
weight: 40
|
||||
---
|
||||
|
||||
## vcpkg下載包失敗
|
||||
## vcpkg 下載包失敗
|
||||
|
||||
### 錯誤示例
|
||||
### 錯誤
|
||||
|
||||
```
|
||||
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
|
||||
@ -15,18 +15,18 @@ weight: 40
|
||||
|
||||
### 解決方法
|
||||
|
||||
使用瀏覽器下載`https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz`, 然後放到`vcpkg/downloads`下, 重新安裝.
|
||||
使用瀏覽器下載 `https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz`,然後放到 `vcpkg/downloads下,重新安裝。
|
||||
|
||||
|
||||
|
||||
## Cargo.lock裡的版本不存在
|
||||
## Cargo.lock 裡的套件不存在
|
||||
|
||||
### 錯誤示例
|
||||
### 錯誤
|
||||
|
||||
```
|
||||
$ cargo run
|
||||
Updating git repository `https://github.com/open-trade/confy`
|
||||
warning: spurious network error (2 tries remaining): failed to receive response: 操作超時
|
||||
Updating git repository `https://github.com/open-trade/confy`
|
||||
warning: spurious network error (2 tries remaining): failed to receive response: Operation Timeout
|
||||
; class=Os (2)
|
||||
error: failed to get `confy` as a dependency of package `hbb_common v0.1.0 (D:\rustdesk\rustdesk\rustdesk\libs\hbb_common)`
|
||||
|
||||
@ -40,17 +40,17 @@ $ cargo run
|
||||
object not found - no match for id (27fa12941291b44ccd856aef4a5452c1eb646047); class=Odb (9); code=NotFound (-3)
|
||||
```
|
||||
|
||||
可能作者使用`git force push`覆蓋了之前的commit
|
||||
可能作者使用 `git force push` 覆蓋了之前的 commit。
|
||||
|
||||
### 解決方法
|
||||
|
||||
`cargo update`強制更新包
|
||||
使用 `cargo update`,強制更新套件
|
||||
|
||||
|
||||
|
||||
## VCPKG_ROOT環境變量未設置
|
||||
## VCPKG_ROOT 環境變數未設置
|
||||
|
||||
### 錯誤示例
|
||||
### 錯誤
|
||||
|
||||
```
|
||||
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
|
||||
@ -58,13 +58,13 @@ 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`
|
||||
|
||||
|
||||
|
||||
## 未安裝clang環境, 或未設置LIBCLANG_PATH環境變量
|
||||
## 未安裝 clang 環境,或未設置 LIBCLANG_PATH 環境變數
|
||||
|
||||
### 錯誤示例
|
||||
### 錯誤
|
||||
|
||||
```
|
||||
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
|
||||
@ -72,4 +72,4 @@ thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid sha
|
||||
|
||||
### 解決辦法
|
||||
|
||||
安裝[llvm](https://releases.llvm.org/download.html), 設置`LIBCLANG_PATH`環境變量為`llvm_install_dir/bin`
|
||||
安裝 [llvm](https://releases.llvm.org/download.html),設置 `LIBCLANG_PATH` 環境變數為 `llvm_install_dir/bin`
|
Reference in New Issue
Block a user