If you notice spammers in the forum, please notify Bas ON5HB, so they can be removed and banned. Give a link in the chatbox or send a PM to me. Thanks.

Problem with cmake

Started by HB9RYZ, Sep 24, 2024, 12:12 AM

Previous topic - Next topic

HB9RYZ

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

Bas ON5HB

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

Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

HB9RYZ

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.

Bas ON5HB

#3
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.
Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

HB9RYZ

Where can I download the correct cmake version?
Do you have any link for the download?

wget ....

73' Wolfgang

Bas ON5HB

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.
Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

HB9RYZ

PhantomSDR Plus is not installed yet.
So I will install PhantomSDR Plus first and then I will see ...

Bas ON5HB

#7
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.
Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

Powered by EzPortal