You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect that your CMake code is no longer compatible with current CMake versions.
Simple cmake call:
$ cmake ../xtensor-fftw-0.2.6
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building xtensor-fftw v0.2.6
-- Performing Test arch_native_supported
-- Performing Test arch_native_supported - Success
-- Found xtensor: /usr/local/include/xtensor
-- Found xtl: /usr/local/include/xtl
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
CMake Error at /snap/cmake/769/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find FFTW (missing: FLOAT_LIB DOUBLE_LIB LONGDOUBLE_LIB)
Call Stack (most recent call first):
/snap/cmake/769/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/findFFTW/FindFFTW.cmake:277 (find_package_handle_standard_args)
CMakeLists.txt:88 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/bebuch/media/tmp/install/xtensor-fftw-0.2.6-build/CMakeFiles/CMakeOutput.log".
Call with FFTW_ROOT:
$ cmake -DFFTW_ROOT=/usr/local ../xtensor-fftw-${XTENSOR_FFTW_VERSION}
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building xtensor-fftw v0.2.6
-- Performing Test arch_native_supported
-- Performing Test arch_native_supported - Success
-- Found xtensor: /usr/local/include/xtensor
-- Found xtl: /usr/local/include/xtl
CMake Warning (dev) at CMakeLists.txt:88 (find_package):
Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
Run "cmake --help-policy CMP0074"for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
CMake variable FFTW_ROOT is set to:
/usr/local
For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
CMake Error at /snap/cmake/769/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find FFTW (missing: FLOAT_LIB DOUBLE_LIB LONGDOUBLE_LIB)
Call Stack (most recent call first):
/snap/cmake/769/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/findFFTW/FindFFTW.cmake:277 (find_package_handle_standard_args)
CMakeLists.txt:88 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/bebuch/media/tmp/install/xtensor-fftw-0.2.6-build/CMakeFiles/CMakeOutput.log".
The text was updated successfully, but these errors were encountered:
I solved it. The problem was the strange build process of FFTW. I used CMake options for single, double, long double and quad-double simultaneously, which is not allowed but runs without warning or error. The result was, that only the quad-double version was build.
CMake fails to find FFTW (version 3.3.9) which was installed from source. I use CMake version 3.19.3 on Ubuntu 20.04.
FFTW is installed in
/usr/local
:I suspect that your CMake code is no longer compatible with current CMake versions.
Simple cmake call:
Call with FFTW_ROOT:
The text was updated successfully, but these errors were encountered: