diff --git a/content/dev/build/faq/_index.de.md b/content/dev/build/faq/_index.de.md index f682724..28b7042 100644 --- a/content/dev/build/faq/_index.de.md +++ b/content/dev/build/faq/_index.de.md @@ -1,6 +1,6 @@ --- title: FAQ -weight: 20 +weight: 40 --- [English](/docs/en/dev/build/faq) \ No newline at end of file diff --git a/content/dev/build/faq/_index.en.md b/content/dev/build/faq/_index.en.md index d43fe98..146202e 100644 --- a/content/dev/build/faq/_index.en.md +++ b/content/dev/build/faq/_index.en.md @@ -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= 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` \ No newline at end of file diff --git a/content/dev/build/faq/_index.fr.md b/content/dev/build/faq/_index.fr.md index f682724..28b7042 100644 --- a/content/dev/build/faq/_index.fr.md +++ b/content/dev/build/faq/_index.fr.md @@ -1,6 +1,6 @@ --- title: FAQ -weight: 20 +weight: 40 --- [English](/docs/en/dev/build/faq) \ No newline at end of file diff --git a/content/dev/build/faq/_index.it.md b/content/dev/build/faq/_index.it.md index f682724..28b7042 100644 --- a/content/dev/build/faq/_index.it.md +++ b/content/dev/build/faq/_index.it.md @@ -1,6 +1,6 @@ --- title: FAQ -weight: 20 +weight: 40 --- [English](/docs/en/dev/build/faq) \ No newline at end of file diff --git a/content/dev/build/faq/_index.ja.md b/content/dev/build/faq/_index.ja.md index f682724..28b7042 100644 --- a/content/dev/build/faq/_index.ja.md +++ b/content/dev/build/faq/_index.ja.md @@ -1,6 +1,6 @@ --- title: FAQ -weight: 20 +weight: 40 --- [English](/docs/en/dev/build/faq) \ No newline at end of file diff --git a/content/dev/build/faq/_index.pt.md b/content/dev/build/faq/_index.pt.md index f682724..28b7042 100644 --- a/content/dev/build/faq/_index.pt.md +++ b/content/dev/build/faq/_index.pt.md @@ -1,6 +1,6 @@ --- title: FAQ -weight: 20 +weight: 40 --- [English](/docs/en/dev/build/faq) \ No newline at end of file diff --git a/content/dev/build/faq/_index.ru.md b/content/dev/build/faq/_index.ru.md index f682724..28b7042 100644 --- a/content/dev/build/faq/_index.ru.md +++ b/content/dev/build/faq/_index.ru.md @@ -1,6 +1,6 @@ --- title: FAQ -weight: 20 +weight: 40 --- [English](/docs/en/dev/build/faq) \ No newline at end of file diff --git a/content/dev/build/faq/_index.zh-cn.md b/content/dev/build/faq/_index.zh-cn.md index 9b2db50..078fcc0 100644 --- a/content/dev/build/faq/_index.zh-cn.md +++ b/content/dev/build/faq/_index.zh-cn.md @@ -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= cargo run` diff --git a/content/dev/build/faq/_index.zh-tw.md b/content/dev/build/faq/_index.zh-tw.md index 1d4b627..633cac3 100644 --- a/content/dev/build/faq/_index.zh-tw.md +++ b/content/dev/build/faq/_index.zh-tw.md @@ -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= cargo run` diff --git a/content/dev/build/windows/_index.en.md b/content/dev/build/windows/_index.en.md index ed40ec7..2c24f4b 100644 --- a/content/dev/build/windows/_index.en.md +++ b/content/dev/build/windows/_index.en.md @@ -5,7 +5,7 @@ weight: 20 ## Dependencies -### c++ build environment +### C++ build environment Download [msvc](https://visualstudio.microsoft.com/) and install. diff --git a/content/dev/build/windows/_index.zh-cn.md b/content/dev/build/windows/_index.zh-cn.md index a900099..40baa68 100644 --- a/content/dev/build/windows/_index.zh-cn.md +++ b/content/dev/build/windows/_index.zh-cn.md @@ -5,7 +5,7 @@ weight: 20 ## 依赖 -### c++编译环境 +### C++编译环境 推荐下载[msvc](https://visualstudio.microsoft.com/)并安装 @@ -30,7 +30,7 @@ weight: 20 ![](/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) diff --git a/content/dev/build/windows/_index.zh-tw.md b/content/dev/build/windows/_index.zh-tw.md index fd468d4..51183c7 100644 --- a/content/dev/build/windows/_index.zh-tw.md +++ b/content/dev/build/windows/_index.zh-tw.md @@ -5,7 +5,7 @@ weight: 20 ## 依賴 -### c++編譯環境 +### C++編譯環境 推薦下載[msvc](https://visualstudio.microsoft.com/)並安裝 @@ -30,7 +30,7 @@ weight: 20 ![](/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)