mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-23 13:15:49 +00:00
update cmake version
This commit is contained in:
@@ -38,14 +38,12 @@ labels:
|
|||||||
|
|
||||||
4. CMakeをインストールします。
|
4. CMakeをインストールします。
|
||||||
|
|
||||||
`rippled`のバージョン1.7.0は、CMake 3.9.0以降を必要とします。このチュートリアルでは、執筆時の最新バージョンだったCMake 3.13.3を使用しました。
|
`rippled`のバージョン1.9.0は、CMake 3.16.3以降を必要とします。
|
||||||
|
|
||||||
CMake 3.9.0以降をすでにインストールしてある場合には、このステップはスキップできます。
|
CMake 3.16.3をインストールするには、以下を実行します。
|
||||||
|
|
||||||
CMake 3.13.3をインストールするには、以下を実行します。
|
wget https://github.com/Kitware/CMake/releases/download/v3.16.3/cmake-3.16.3-Linux-x86_64.sh
|
||||||
|
sudo sh cmake-3.16.3-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir
|
||||||
wget https://github.com/Kitware/CMake/releases/download/v3.13.3/cmake-3.13.3-Linux-x86_64.sh
|
|
||||||
sudo sh cmake-3.13.3-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir
|
|
||||||
|
|
||||||
`cmake --version`を使用し、正常にインストールされたことを確認します。
|
`cmake --version`を使用し、正常にインストールされたことを確認します。
|
||||||
|
|
||||||
|
|||||||
@@ -34,20 +34,17 @@ These instructions use Ubuntu's APT (Advanced Packaging Tool) to install `ripple
|
|||||||
|
|
||||||
4. Install CMake.
|
4. Install CMake.
|
||||||
|
|
||||||
Version 1.8.1 of `rippled` requires CMake 3.9.0 or higher. For the purposes of this tutorial, we used CMake 3.13.3.
|
Version 1.9.0 of `rippled` requires CMake 3.16.3 or higher.
|
||||||
|
To install CMake 3.16.3:
|
||||||
|
|
||||||
If you have previously installed CMake 3.9.0 or higher, you can skip these steps.
|
wget https://github.com/Kitware/CMake/releases/download/v3.16.3/cmake-3.16.3-Linux-x86_64.sh
|
||||||
|
sudo sh cmake-3.16.3-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir
|
||||||
To install CMake 3.13.3:
|
|
||||||
|
|
||||||
wget https://github.com/Kitware/CMake/releases/download/v3.13.3/cmake-3.13.3-Linux-x86_64.sh
|
|
||||||
sudo sh cmake-3.13.3-Linux-x86_64.sh --prefix=/usr/local --exclude-subdir
|
|
||||||
|
|
||||||
Use `cmake --version` to verify that the installation worked.
|
Use `cmake --version` to verify that the installation worked.
|
||||||
|
|
||||||
5. Compile Boost.
|
5. Compile Boost.
|
||||||
|
#NOTE: DIDN'T WE UPDATE TO 1.71?
|
||||||
Version 1.8.1 of `rippled` requires the Boost library and is compatible with Boost versions 1.70.0 to 1.75.0. The Ubuntu 18.04 (or 20.04) software repositories don't have a compatible Boost version, so you must compile it yourself. The following examples use Boost 1.75.0.
|
Version 1.9.0 of `rippled` requires the Boost library and is compatible with Boost versions 1.70.0 to 1.75.0. The Ubuntu 18.04 (or 20.04) software repositories don't have a compatible Boost version, so you must compile it yourself. The following examples use Boost 1.75.0.
|
||||||
|
|
||||||
If you have previously built Boost 1.75.0 for `rippled` and configured the `BOOST_ROOT` environment variable, you can skip these steps.
|
If you have previously built Boost 1.75.0 for `rippled` and configured the `BOOST_ROOT` environment variable, you can skip these steps.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user