Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fftw: FFTW3LibraryDepends.cmake missing #10150

Closed
juanjosegarciaripoll opened this issue Nov 21, 2021 · 4 comments · Fixed by #11919
Closed

fftw: FFTW3LibraryDepends.cmake missing #10150

juanjosegarciaripoll opened this issue Nov 21, 2021 · 4 comments · Fixed by #11919
Labels
enhancement Package requires more dependencies, build options, different packaging style etc.

Comments

@juanjosegarciaripoll
Copy link

When using mingw-w64-x86_64-fftw via cmake, I get this error message indicating that the file FFTW3LibraryDepends.cmake is missing

CMake Error at C:/msys64/mingw64/lib/cmake/fftw3/FFTW3Config.cmake:13 (include):
  include could not find requested file:

    C:/msys64/mingw64/lib/cmake/fftw3/FFTW3LibraryDepends.cmake
Call Stack (most recent call first):
  CMakeLists.txt:139 (find_package)

This is confirmed by finding the include statements from the cmake files

$ grep -i FFTW3LibraryDepends c:/msys64/mingw64/lib/cmake/fftw3/*                                        c:/msys64/mingw64/lib/cmake/fftw3/FFTW3Config.cmake:include ("${CMAKE_CURRENT_LIST_DIR}/FFTW3LibraryDepends.cmake")
c:/msys64/mingw64/lib/cmake/fftw3/FFTW3fConfig.cmake:include ("${CMAKE_CURRENT_LIST_DIR}/FFTW3LibraryDepends.cmake")
c:/msys64/mingw64/lib/cmake/fftw3/FFTW3lConfig.cmake:include ("${CMAKE_CURRENT_LIST_DIR}/FFTW3LibraryDepends.cmake")
c:/msys64/mingw64/lib/cmake/fftw3/FFTW3qConfig.cmake:include ("${CMAKE_CURRENT_LIST_DIR}/FFTW3LibraryDepends.cmake")
@lazka
Copy link
Member

lazka commented Nov 21, 2021

See FFTW/fftw3#130

Maybe porting the build to cmake would fix this.

@lazka lazka changed the title mingw-w64-fftw does not install all makefiles fftw: FFTW3LibraryDepends.cmake missing Nov 21, 2021
@Biswa96
Copy link
Member

Biswa96 commented Nov 22, 2021

ArchLinux fftw PKGBUILD file mentions "NOTE: cmake setup still missing MPI integration and needs patch for libquadmath".

@Biswa96
Copy link
Member

Biswa96 commented Nov 22, 2021

Wondering if it possible to build the project with autoconf and cmake both. But at packaging time, install the binaries using make and install the *.cmake file manually with a for loop. But this may increase build time of the package significantly.

@Biswa96 Biswa96 added the enhancement Package requires more dependencies, build options, different packaging style etc. label Jun 24, 2022
@fyfishie
Copy link

I use cmake to build it and this problem is solved at version fftw-3.3.10

mkdir build
cd build
cmake ../
make
make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Package requires more dependencies, build options, different packaging style etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants