From 30597be2feaee9ac56fba614b19c7765ca57c6dc Mon Sep 17 00:00:00 2001 From: benbaley Date: Tue, 8 Apr 2025 14:45:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0go=E7=89=88=E6=9C=AC=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E8=A6=81=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...46\272\220\347\240\201\345\256\211\350\243\205PlatON.md" | 6 +++--- ...46\272\220\347\240\201\345\256\211\350\243\205PlatON.md" | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git "a/docs/\346\272\220\347\240\201\345\256\211\350\243\205PlatON.md" "b/docs/\346\272\220\347\240\201\345\256\211\350\243\205PlatON.md" index ffb443c926..a13cf330f0 100644 --- "a/docs/\346\272\220\347\240\201\345\256\211\350\243\205PlatON.md" +++ "b/docs/\346\272\220\347\240\201\345\256\211\350\243\205PlatON.md" @@ -15,7 +15,7 @@ This document is intended for users with the ability to compile source code on t Windows compilation environment requirements : - git: `2.19.1 and above` -- Go language development kit: `go (1.16+)` +- Go language development kit: `go (1.22+)` - mingw: `mingw (V8.1.0)` - cmake: `3.0 +` @@ -47,7 +47,7 @@ You can install the above compilation environment yourself. Please make sure the > choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' > ``` > -> Most softwares installed using the `chocolatey` package manager have a default installation path, and some software may have various paths, depending on the publisher of the software. Installing these packages will modify the Path environment variable. The final installation path can be viewed in the PATH. Some machine environments may not find the installation path of these tools in the PATH, and you need to add it manually at this time. After installation, please make sure the installed Go version is 1.16 (or higher). +> Most softwares installed using the `chocolatey` package manager have a default installation path, and some software may have various paths, depending on the publisher of the software. Installing these packages will modify the Path environment variable. The final installation path can be viewed in the PATH. Some machine environments may not find the installation path of these tools in the PATH, and you need to add it manually at this time. After installation, please make sure the installed Go version is 1.22 (or higher). > > Note: The following commands need to be run in the `Git-bash` environment. In any directory, right-click and select `Git Bash Here` to bring up the `Git Bash` running window. @@ -90,7 +90,7 @@ After compiling, `platon`,` platonkey` executable files will be generated in the - System version: `Ubuntu 18.04 or higher` - git: `2.19.1 or higher` - Compilers: `gcc (4.9.2+)`, `g ++ (5.0+)` -- Go language development kit: `go (1.16+)` +- Go language development kit: `go (1.22+)` - cmake: `3.0 +` **step2.** Get the PlatON source: diff --git "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\272\220\347\240\201\345\256\211\350\243\205PlatON.md" "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\272\220\347\240\201\345\256\211\350\243\205PlatON.md" index 56f0527a97..532cb25f9b 100644 --- "a/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\272\220\347\240\201\345\256\211\350\243\205PlatON.md" +++ "b/website/i18n/zh-CN/docusaurus-plugin-content-docs/current/\346\272\220\347\240\201\345\256\211\350\243\205PlatON.md" @@ -13,7 +13,7 @@ sidebar_label: 源码安装PlatON Windows编译环境需要符合以下条件: - git:`2.19.1以上` -- go语言开发包:`go(1.16+)` +- go语言开发包:`go(1.22+)` - mingw:`mingw(V8.1.0)` - cmake: `3.0+` @@ -45,7 +45,7 @@ Windows编译环境需要符合以下条件: > choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' > ``` > -> 利用`chocolatey`包管理器安装的软件大部分有默认的安装路径,部分软件可能会有各种各样的路径,这取决于软件的发布者。安装这些包将修改Path环境变量。最后安装路径可查看PATH,某些机器环境可能在 PATH 中找不到这些工具的安装路径,此时需手动添加。安装完之后请确保已安装的Go版本为1.16(或更高版本)。 +> 利用`chocolatey`包管理器安装的软件大部分有默认的安装路径,部分软件可能会有各种各样的路径,这取决于软件的发布者。安装这些包将修改Path环境变量。最后安装路径可查看PATH,某些机器环境可能在 PATH 中找不到这些工具的安装路径,此时需手动添加。安装完之后请确保已安装的Go版本为1.22(或更高版本)。 > > 注意:以下命令均需在`Git-bash`环境运行, 在任意目录下,鼠标右键,选中`Git Bash Here`,弹出`Git Bash`运行窗口。 @@ -89,7 +89,7 @@ go run build/ci.go install ./cmd/platonkey - 系统版本:`Ubuntu 18.04.1 及以上` - git:`2.19.1及以上` - 编译器:`gcc(4.9.2+)`、`g++(5.0+)` -- go语言开发包:`go(1.16+)` +- go语言开发包:`go(1.22+)` - cmake:`3.0+` **step2.** 获取PlatON源码: