Menu

FFTW version recognition problem?

npmk
2006-10-31
2013-06-03
  • npmk

    npmk - 2006-10-31

    I have installed fftw in /usr/local/

    /usr/local/include
    ...
    H5FDsec2.h      H5public.h    fftw3.f     hproto.h      zconf.h
    H5FDsrb.h       atom.h        fftw3.h     htags.h       zlib.h
    ...
    /usr/local/lib
    ...
    libfftw3.a          libgsl.so.0.9.0       libhdf5.so.0.0.0     libsz.so
    libfftw3.la         libgslcblas.a         libhdf5_hl.a         libsz.so.2
    ...

    Now I try to build GDL:

    ./configure --with-fftw=/usr/local --prefix=/usr/local --with-plplot=/usr/local/plplot

    Error! FFTW3 version 3 is required but was not found
           Use --with-fftw=DIR to specify the FFTW directory tree
           Use --with-fftw=no  to not use it
           Check the README or use configure --help for other libraries needed
           (--with-xxxdir = obligatory, --with-xxx = optional (--with-xxx=no to disable))

    Huh?

       This was version 3.1 I installed of fftw. So whats missing?

    Any suugestions?

     
    • Joel Gales

      Joel Gales - 2006-11-01

      You need to build FFTW twice.  Once without the "--enable-float" switch and once with.  The first builds the libfftw3.a library, the second builds the libfftw3f.a library.  This isn't clear from the error message.

      Joel

       

Log in to post a comment.