mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-23 16:36:42 +00:00
fix style
This commit is contained in:
@@ -3,9 +3,9 @@ title: FAQ per Windows
|
||||
weight: 40
|
||||
---
|
||||
|
||||
### Download del pacchetto vcpkg fallito
|
||||
## Download del pacchetto vcpkg fallito
|
||||
|
||||
#### Errore
|
||||
### Errore
|
||||
|
||||
```
|
||||
-- Fetching https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b...
|
||||
@@ -13,15 +13,15 @@ weight: 40
|
||||
Command failed: D:/program/Git/mingw64/bin/git.exe fetch https://chromium.googlesource.com/libyuv/libyuv 287158925b0e03ea4499a18b4e08478c5781541b --depth 1 -n
|
||||
```
|
||||
|
||||
#### Soluzione
|
||||
### 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
|
||||
## Il pacchetto in Cargo.lock non esiste
|
||||
|
||||
#### Errore
|
||||
### Errore
|
||||
|
||||
```
|
||||
$ cargo run
|
||||
@@ -42,34 +42,34 @@ $ cargo run
|
||||
|
||||
Forse l'autore ha usato `git force push` e il commit precedente è stato sovrascritto.
|
||||
|
||||
#### Soluzione
|
||||
### Soluzione
|
||||
|
||||
`cargo update`, forza l'aggiornamento del pacchetto.
|
||||
|
||||
|
||||
|
||||
### VCPKG_ROOT non impostato
|
||||
## VCPKG_ROOT non impostato
|
||||
|
||||
#### Errore
|
||||
### 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
|
||||
### 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
|
||||
## clang non installato, o LIBCLANG_PATH non impostato
|
||||
|
||||
#### Errore
|
||||
### 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
|
||||
### Soluzione
|
||||
|
||||
Installa [LLVM](https://releases.llvm.org/download.html), aggiungi la variabile d'ambiente `LIBCLANG_PATH` come `llvm_install_dir/bin`.
|
||||
Reference in New Issue
Block a user