This forum has been archived. All content is frozen. Please use KDE Discuss instead.

cmake can't find FFTW

Tags: None
(comma "," separated)
olegmikul
Registered Member
Posts
1
Karma
0

cmake can't find FFTW

Sun May 21, 2017 2:09 am
Hi,

On Linux I can install eigen with various backends, including FFTW.

On MacOS (Sierra), after installing the same latest FFTW software in the same default directory ("/usr/local"), cmake can't find FFTW: "Could NOT find FFTW (missing: FFTW_LIBRARIES)"

In general, even on Linux I can't setup custom locations (using env variables as shown in "FindFFT.cmake" file), it works only with default locations.

Any help will be appreciated.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: cmake can't find FFTW

Tue Jun 06, 2017 7:51 am
You need to define the cmake FFTW_LIBRARY and FFTW_INCLUDE_DIR variables:

cmake . -DFFTW_INCLUDE_DIR=... -DFFTW_LIBRARY=...

those are not environment variables.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]