PhantomSDR Support Forum

General Category => PhantomSDR Software => Topic started by: ihweb on Apr 04, 2025, 02:21 AM

Title: How to install cufft lib
Post by: ihweb on Apr 04, 2025, 02:21 AM
I have installed the driver and toolkit for Nvidia graphics card, but when I run meson build --optimization=3, it says Run-time dependency cufft found: NO (tried pkgconfig and cmake)

How to install cufft lib support?

Title: Re: How to install cufft lib
Post by: ihweb on Apr 04, 2025, 02:24 AM
The Meson build system
Version: 0.61.2
Source dir: /home/usera/PhantomSDR-Plus
Build dir: /home/usera/PhantomSDR-Plus/build
Build type: native build
Project name: spectrumdistributor
Project version: undefined
C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
meson.build:13: WARNING: Consider using the built-in option for language standard version instead of using "-std=c++23".
meson.build:13: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
meson.build:13: WARNING: Consider using the built-in warning_level option instead of using "-Wextra".
Run-time dependency threads found: YES
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency fftw3f found: YES 3.3.8
Library fftw3f_omp found: YES
Run-time dependency OpenMP found: YES 4.5
Run-time dependency Boost (found: iostreams, system) found: YES 1.74.0 (/usr)
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency glaze found: YES 2.4.0
Library liquid found: YES
Run-time dependency libzstd found: YES 1.4.8
Run-time dependency flac++ found: YES 1.3.3
Run-time dependency aom found: YES 3.11.0
Run-time dependency opus found: YES 1.3.1
Run-time dependency zlib found: YES 1.2.11

Executing subproject websocketpp

websocketpp| Project name: websocketpp
websocketpp| Project version: 0.8.2
websocketpp| C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
websocketpp| C++ linker for the host machine: c++ ld.bfd 2.38
websocketpp| Build targets in project: 0
websocketpp| Subproject websocketpp finished.

Run-time dependency tomlplusplus found: YES 3.4.0
Run-time dependency CUDA (modules: cudart) found: YES 12.8 (/usr/local/cuda)
Run-time dependency cufft found: NO (tried pkgconfig and cmake)
Run-time dependency opencl found: YES 3.0
Run-time dependency clfft found: YES 2.12.2
Library stdc++fs found: YES
Run-time dependency libcurl found: YES 7.81.0
Cuda compiler for the host machine: nvcc (nvcc 11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0)
Cuda linker for the host machine: nvcc nvlink 11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0
Build targets in project: 1

spectrumdistributor undefined

  Subprojects
    websocketpp : YES

  User defined options
    optimization: 3

Found ninja-1.10.1 at /usr/bin/ninja
Title: Re: How to install cufft lib
Post by: Bas ON5HB on Apr 05, 2025, 02:53 PM
Nobody knows as nobody uses it.
I tried but failed.

No idea how to install and use cuda and the cufft.

Try google?