help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fft support on octave


From: Mike Miller
Subject: Re: fft support on octave
Date: Wed, 18 Dec 2019 18:50:47 -0800
User-agent: Mutt/1.12.2 (2019-09-21)

On Tue, Dec 17, 2019 at 17:40:50 +0530, niraj pandey wrote:
> This give me the following error.
> 
> ./configure --prefix=/home/niraj/fftw --enable-shared --enable-float
> --enable-long-double --enable-sse
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... x86_64-pc-linux-gnu
> configure: error: --enable-single/--enable-long-double conflict
> 
> After that I tried with the following option and build fftw.
> 
>   /configure --prefix=/home/niraj/fftw --enable-shared
> --enable-long-double

You have to build and install FFTW twice with separate sets of configure
options for single and double precision floating point. For example,

    ./configure --prefix=/home/user/fftw --enable-shared
    make all
    make install
    make distclean
    ./configure --prefix=/home/user/fftw --enable-shared --enable-single
    make all
    make install

Both builds can be safely installed in the same --prefix option.

-- 
mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]