fftw libraries

hi everyone,
I need fftw3 libraries (FFTW Installation on the MacOS) but I can't succeed in installing them on my Mac OSX.
I tried with "./configure make make install" procedure, fink and macports but my programs always ask me "fftw.h" files?

can you help me?

thank you!!

federico_tn84

P.S.: I am a newbie... so be patient! thank you.

Which stage (configure, make, make install) fails? Can you post config.status?

hi,
if you mean just after I use "./config" the file output file in the following attachment.
I have no idea where I should look for into the file in order to find out the problem.
thank you.

So which part of the compilation process fails? Obviously configure works.

I also post the terminal output of "sudo make install"

now the terminal output file! :smiley:

I see a lot of "make[5]: Nothing to be done for..." maybe this is the problem.
Is it a compiler problem in your opinion?

It looks live everything worked. The libraries installed properly. Again, where does the error occur?

the problem is that a .cpp program askes me "ffftw.h" library.
but now I have just remade all and downloaded (just the hundred time) all libraries... and now my cpp program seems working well!!
I can't explain... maybe fink and macports files have added something...

now I will have another check (to be sure).

Sorry for the lost of time but I am afraid of making irreparable mistakes
with my mac.

thank you very very much!

:smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley:

Well, in order to compile, you must add -I /usr/local/include to the MAkefile or compiler. You must also add -L /usr/local/lib -l fftw or something.

I confirm: it works well.
thank you again.

federico_tn84

The libraries you installed may work, but the applications requiring fftw.h may need some assistance in locating them.

If you installed fftw3, it might be that there is no fftw.h.
Looking at the makeinstall.txt document, you appear to have succeeded in installing fftw3.h

Clearly this is not the name the applications are looking for.

You may have success creating a symlink that points to fftw3.h

cd /usr/local/include/
sudo ln -s fftw3.h fftw.h

If it doesn't solve the problem, then
sudo rm /usr/local/include/fftw.h

thank very much for your help, but my application is working well and
in the directory /usr/local/include/ there is "fftw3.f"
thank you.

federico_tn84

sorry, obviously "fftw3.h" AND "fftw3.f" :smiley: