mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-09 17:26:30 +00:00
full translation
This commit is contained in:
@@ -1,6 +1,75 @@
|
||||
---
|
||||
title: FAQ
|
||||
title: FAQ per Windows
|
||||
weight: 40
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/faq)
|
||||
### Download del pacchetto vcpkg fallito
|
||||
|
||||
#### Errore
|
||||
|
||||
```
|
||||
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
|
||||
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
|
||||
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
|
||||
```
|
||||
|
||||
#### Soluzione
|
||||
|
||||
Usa un browser per scaricare [libyuv-287158925b0e03ea4499a18b4e08478c5781541b.tar.gz](https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz), poi spostalo in `vcpkg/downloads` e reinstalla.
|
||||
|
||||
|
||||
|
||||
### Il pacchetto in Cargo.lock non esiste
|
||||
|
||||
#### Errore
|
||||
|
||||
```
|
||||
$ cargo run
|
||||
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)`
|
||||
|
||||
Caused by:
|
||||
failed to load source for dependency `confy`
|
||||
|
||||
Caused by:
|
||||
Unable to update https://github.com/open-trade/confy#27fa1294
|
||||
|
||||
Caused by:
|
||||
object not found - no match for id (27fa12941291b44ccd856aef4a5452c1eb646047); class=Odb (9); code=NotFound (-3)
|
||||
```
|
||||
|
||||
Forse l'autore ha usato `git force push` e il commit precedente è stato sovrascritto.
|
||||
|
||||
#### Soluzione
|
||||
|
||||
`cargo update`, forza l'aggiornamento del pacchetto.
|
||||
|
||||
|
||||
|
||||
### VCPKG_ROOT non impostato
|
||||
|
||||
#### Errore
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
#### Soluzione
|
||||
|
||||
Aggiungi la variabile d'ambiente `VCPKG_ROOT`, o esegui con `VCPKG_ROOT=<vcpkg_dir> cargo run`.
|
||||
|
||||
|
||||
|
||||
### clang non installato, o LIBCLANG_PATH non impostato
|
||||
|
||||
#### Errore
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
#### Soluzione
|
||||
|
||||
Installa [LLVM](https://releases.llvm.org/download.html), aggiungi la variabile d'ambiente `LIBCLANG_PATH` come `llvm_install_dir/bin`.
|
||||
@@ -1,6 +1,75 @@
|
||||
---
|
||||
title: FAQ
|
||||
title: Windows FAQ
|
||||
weight: 40
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/faq)
|
||||
### vcpkg パッケージダウンロード失敗
|
||||
|
||||
#### エラー
|
||||
|
||||
```
|
||||
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
|
||||
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
|
||||
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
|
||||
```
|
||||
|
||||
#### 解決策
|
||||
|
||||
ブラウザを使用して [libyuv-287158925b0e03ea4499a18b4e08478c5781541b.tar.gz](https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz) をダウンロードし、`vcpkg/downloads` に移動して再インストールしてください。
|
||||
|
||||
|
||||
|
||||
### Cargo.lock 内のパッケージが存在しない
|
||||
|
||||
#### エラー
|
||||
|
||||
```
|
||||
$ cargo run
|
||||
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)`
|
||||
|
||||
Caused by:
|
||||
failed to load source for dependency `confy`
|
||||
|
||||
Caused by:
|
||||
Unable to update https://github.com/open-trade/confy#27fa1294
|
||||
|
||||
Caused by:
|
||||
object not found - no match for id (27fa12941291b44ccd856aef4a5452c1eb646047); class=Odb (9); code=NotFound (-3)
|
||||
```
|
||||
|
||||
おそらく作者が `git force push` を使用して以前のコミットを上書きしたようです。
|
||||
|
||||
#### 解決策
|
||||
|
||||
`cargo update` を実行して、パッケージを強制的に更新してください。
|
||||
|
||||
|
||||
|
||||
### 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
|
||||
```
|
||||
|
||||
#### 解決策
|
||||
|
||||
`VCPKG_ROOT` 環境変数を追加するか、`VCPKG_ROOT=<vcpkg_dir> cargo run` で実行してください。
|
||||
|
||||
|
||||
|
||||
### 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
|
||||
```
|
||||
|
||||
#### 解決策
|
||||
|
||||
[LLVM](https://releases.llvm.org/download.html) をインストールし、`LIBCLANG_PATH` 環境変数を `llvm_install_dir/bin` として追加してください。
|
||||
@@ -1,75 +0,0 @@
|
||||
---
|
||||
title: FAQ voor Windows
|
||||
weight: 40
|
||||
---
|
||||
|
||||
## vcpkg download pakket mislukt
|
||||
|
||||
### Fout
|
||||
|
||||
```
|
||||
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
|
||||
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
|
||||
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
|
||||
```
|
||||
|
||||
### Oplossing
|
||||
|
||||
Gebruik een browser en download `https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz`, en plaats het dan in `vcpkg/downloads` en installeer opnieuw.
|
||||
|
||||
|
||||
|
||||
## Pakket in Cargo.lock bestaat niet
|
||||
|
||||
### Fout
|
||||
|
||||
```
|
||||
$ cargo run
|
||||
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)`
|
||||
|
||||
Caused by:
|
||||
failed to load source for dependency `confy`
|
||||
|
||||
Caused by:
|
||||
Unable to update https://github.com/open-trade/confy#27fa1294
|
||||
|
||||
Caused by:
|
||||
object not found - no match for id (27fa12941291b44ccd856aef4a5452c1eb646047); class=Odb (9); code=NotFound (-3)
|
||||
```
|
||||
|
||||
Misschien gebruikte de auteur `git force push` en de vorige poging werd overschreven.
|
||||
|
||||
### Oplossing
|
||||
|
||||
`cargo update`, het pakket forceren om bijgewerkt te worden
|
||||
|
||||
|
||||
|
||||
## VCPKG_ROOT niet ingesteld
|
||||
|
||||
### Fout
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
### Oplossing
|
||||
|
||||
Voeg `VCPKG_ROOT` omgevingsvariabele toe, of voer uit met `VCPKG_ROOT=<vcpkg_dir> cargo run`
|
||||
|
||||
|
||||
|
||||
## clang niet aanwezig, of LIBCLANG_PATH niet ingesteld
|
||||
|
||||
### Fout
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
### Oplossing
|
||||
|
||||
Installeer [llvm](https://releases.llvm.org/download.html), Voeg de `LIBCLANG_PATH` omgevingsvariabele toe als `llvm_install_dir/bin`
|
||||
@@ -1,6 +1,75 @@
|
||||
---
|
||||
title: FAQ
|
||||
title: FAQ para Windows
|
||||
weight: 40
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/faq)
|
||||
### Falha no download de pacote vcpkg
|
||||
|
||||
#### Erro
|
||||
|
||||
```
|
||||
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
|
||||
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
|
||||
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
|
||||
```
|
||||
|
||||
#### Solução
|
||||
|
||||
Use um navegador para baixar [libyuv-287158925b0e03ea4499a18b4e08478c5781541b.tar.gz](https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz), depois mova para `vcpkg/downloads` e reinstale.
|
||||
|
||||
|
||||
|
||||
### Pacote no Cargo.lock não existe
|
||||
|
||||
#### Erro
|
||||
|
||||
```
|
||||
$ cargo run
|
||||
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)`
|
||||
|
||||
Caused by:
|
||||
failed to load source for dependency `confy`
|
||||
|
||||
Caused by:
|
||||
Unable to update https://github.com/open-trade/confy#27fa1294
|
||||
|
||||
Caused by:
|
||||
object not found - no match for id (27fa12941291b44ccd856aef4a5452c1eb646047); class=Odb (9); code=NotFound (-3)
|
||||
```
|
||||
|
||||
Talvez o autor tenha usado `git force push` e o commit anterior foi sobrescrito.
|
||||
|
||||
#### Solução
|
||||
|
||||
`cargo update`, força a atualização do pacote.
|
||||
|
||||
|
||||
|
||||
### VCPKG_ROOT não definido
|
||||
|
||||
#### Erro
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
#### Solução
|
||||
|
||||
Adicione a variável de ambiente `VCPKG_ROOT`, ou execute com `VCPKG_ROOT=<vcpkg_dir> cargo run`.
|
||||
|
||||
|
||||
|
||||
### clang não instalado, ou LIBCLANG_PATH não definido
|
||||
|
||||
#### Erro
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
#### Solução
|
||||
|
||||
Instale [LLVM](https://releases.llvm.org/download.html), adicione a variável de ambiente `LIBCLANG_PATH` como `llvm_install_dir/bin`.
|
||||
@@ -1,75 +0,0 @@
|
||||
---
|
||||
title: ЧЗВ для Windows
|
||||
weight: 40
|
||||
---
|
||||
|
||||
## vcpkg download package failed
|
||||
|
||||
### Ошибка
|
||||
|
||||
```
|
||||
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
|
||||
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
|
||||
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
|
||||
```
|
||||
|
||||
### Решение
|
||||
|
||||
Используйте браузер для загрузки `https://chromium.googlesource.com/libyuv/libyuv/+archive/287158925b0e03ea4499a18b4e08478c5781541b.tar.gz`, затем переместите файл в `vcpkg/downloads` и переустановите.
|
||||
|
||||
|
||||
|
||||
## Package in Cargo.lock not exist
|
||||
|
||||
### Ошибка
|
||||
|
||||
```
|
||||
$ cargo run
|
||||
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)`
|
||||
|
||||
Caused by:
|
||||
failed to load source for dependency `confy`
|
||||
|
||||
Caused by:
|
||||
Unable to update https://github.com/open-trade/confy#27fa1294
|
||||
|
||||
Caused by:
|
||||
object not found - no match for id (27fa12941291b44ccd856aef4a5452c1eb646047); class=Odb (9); code=NotFound (-3)
|
||||
```
|
||||
|
||||
Возможно, автор использовал `git force push`, и предыдущий коммит был перезаписан.
|
||||
|
||||
### Решение
|
||||
|
||||
`cargo update`, чтобы принудительно обновить пакет
|
||||
|
||||
|
||||
|
||||
## VCPKG_ROOT not set
|
||||
|
||||
### Ошибка
|
||||
|
||||
```
|
||||
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`
|
||||
|
||||
|
||||
|
||||
## clang not installed, or LIBCLANG_PATH not set
|
||||
|
||||
### Ошибка
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
### Решение
|
||||
|
||||
Установите [llvm](https://releases.llvm.org/download.html), добавьте переменную среды `LIBCLANG_PATH` как `llvm_install_dir/bin`
|
||||
Reference in New Issue
Block a user