I can not install the cmake version 3.24.
If I try to install glaze, I will get the following error under Ubuntu 22.04
CMake 3.24 or higher is required. You are running version 3.22.1
How can I get the CMake version 3.24?
73' Wolfgang
Glaze is normally installed by the script.
But this isn't the latest version in the PhantomPlus directory subprojects/glaze is the right version.
You can compile and install it with:
mkdir build
cd build
cmake ..
make
make install
Quote from: Bas ON5HB on Sep 24, 2024, 10:39 AMGlaze is normally installed by the script.
But this isn't the latest version in the PhantomPlus directory subprojects/glaze is the right version.
You can compile and install it with:
mkdir build
cd build
cmake ..
make
make install
OK, but it does not work. Always the old version of cmake will be installed.
Where did you get that version of glaze?
As the latest version is not compatible with PhantomPlus.
The one you find in the directory is the correct one.
Mine is the smae as yours:
Quoteroot@Websdr:~# cmake --version
cmake version 3.22.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
And it compiles without a problem.
Where did you get your Glaze? As I'm pretty sure it's not the right Glaze version, else it would compile and install.
The script installs Glaze 2.4.0:
cmake_minimum_required(VERSION 3.21)
include(cmake/prelude.cmake)
project(
glaze
VERSION 2.4.0
LANGUAGES CXX
)
Not the latest 3.4.x versions as those are not compatible with PhantomPlus.
Where can I download the correct cmake version?
Do you have any link for the download?
wget ....
73' Wolfgang
Look in your phantom directory -> subprojects -> glaze -> then in Glaze dir:
mkdir build
cd build
cmake ..
make
make install
And it should compile and install.
PhantomSDR Plus is not installed yet.
So I will install PhantomSDR Plus first and then I will see ...
Ah ok, Phantom will install it itself. No need to install everything by hand.
Just follow the instructions and you should be fine. ;D
However, if you want to use OpenCL or Cuda, make sure THAT is installed upfront and working.
As it compiles it into the code during installing IF it's available.
When it's not available, it will not work afterwards unless you recompile.