Chia-Network / bladebit

A high-performance k32-only, Chia (XCH) plotter supporting in-RAM and disk-based plotting
Apache License 2.0
339 stars 109 forks source link

package install didn't get correct version of cmake #316

Closed charbob closed 1 year ago

charbob commented 1 year ago

I'll preface with the fact that I'm a Linux beginner, so I might be missing something obvious. I was following the readme to install bladebit on my Intel NUC running ubuntu 20.04.6, but when I run "cmake ..", I'm hit with this error:

CMake Error at CMakeLists.txt:1 (cmake_minimum_required): CMake 3.20 or higher is required. You are running version 3.16.3 -- Configuring incomplete, errors occurred!

Am I doing something wrong?

dong3625260 commented 1 year ago

Need to upgrade to newer version

charbob commented 1 year ago

I tried "sudo apt update" and tried to specifically update cmake, but it said that 3.16.3 is the current version. Is there a command to specifically call out which version to update to?

dong3625260 commented 1 year ago

yes you can refer to https://blog.csdn.net/qq_27350133/article/details/121994229

charbob commented 1 year ago

Thank you, that worked. I guess my feature request would be for bladebit installation to pull the correct version of cmake, or to check which version is installed, and to retrieve the correct version if the current version is not sufficient.