[Insight-users] FFTw

Lodron, Gerald Gerald.Lodron at joanneum.at
Tue Feb 16 01:36:58 EST 2010


Hi

Yes, i need it for some registration algorithms.

The problem is that i cannot build FFTW on my own, when i download FFTW source for windows i did not find any Cmake files and i do not know how to build that stuff without a Cmake or a Project file (so i would recommend the final libraries for me, but if you can explain me in detail how to build it i will try, i have no idea).

Ok but i think that .lib is the Windows equivalent to .so in Linux so it should be

> FFTWD_LIB = libfftw3.lib
> FFTWD_THREADS_LIB
> FFTWF_LIB = libfftw3f.lib
> FFTWF_THREADS_LIB

The only question is, where are my threads lib??? Are they needed??? 

Is it possible that i am the only windows fftw and itk user????

I would be very thanksfull for any help!

Best regards,
Gerald Lodron
 

-----Ursprüngliche Nachricht-----
Von: Luis Ibanez [mailto:luis.ibanez at kitware.com] 
Gesendet: Montag, 15. Februar 2010 22:16
An: Lodron, Gerald
Cc: insight-users at itk.org
Betreff: Re: [Insight-users] FFTw

Hi Gerald,

Are you doing this in order to use FFTW from ITK ?

If so, once you have build FFTW, you should simply rerun CMake to configure ITK and turn on the CMake
option:

                  USE_FFTWD and/or
                  USE_FFTWF


Once you do that CMake should find the FFTW libraries.

As an example, this is what I have on one of may Linux builds that has FFTW enabled:

FFTWD_LIB:FILEPATH=/usr/lib/libfftw3.so
FFTWD_THREADS_LIB:FILEPATH=/usr/lib/libfftw3_threads.so
FFTWF_LIB:FILEPATH=/usr/lib/libfftw3f.so
FFTWF_THREADS_LIB:FILEPATH=/usr/lib/libfftw3f_threads.so

(Note that I didn't have to type these paths myself, CMake found them,... maybe because FFTW was installed in the system directories...)


   Let us know if you find  any problems,


         Thanks


                Luis


--------------------------------------------------------------------------
On Mon, Feb 15, 2010 at 10:55 AM, Lodron, Gerald <Gerald.Lodron at joanneum.at> wrote:
>
> Hello
>
> Stupid question but i am no libs expert:
>
> I want to install FFTW under VS2009 and Windows XP 32bit, i downloaded 
> the Windows 32 dlls and already run the lib /def:libfftw3-3.def lib 
> /def:libfftw3f-3.def lib /def:libfftw3l-3.def
>
> Commands to create libs. Now i have the following files:
>
> bench.exe
> benchf.exe
> benchl.exe
> fftwf-wisdom.exe
> fftwl-wisdom.exe
> fftw-wisdom.exe
> fftw3.h
> libfftw3-3.def
> libfftw3f-3.def
> libfftw3l-3.def
> fftw3.f
> libfftw3-3.dll
> libfftw3f-3.dll
> libfftw3l-3.dll
> libfftw3-3.exp
> libfftw3-3.lib
> libfftw3f-3.exp
> libfftw3f-3.lib
> libfftw3l-3.exp
> libfftw3l-3.lib
>
> Which of them must be linked to the Cmake Tags
>
> FFTWD_LIB
> FFTWD_THREADS_LIB
> FFTWF_LIB
> FFTWF_THREADS_LIB
>
> ?????????????????
>
> Any other things which i must do?
>
> ????
>
> Thanks
>
>
>
>
> ----------------------------------------------------
> DI Gerald Lodron
> JOANNEUM RESEARCH
> Institute of Digital Image Processing
> Wastiangasse 6
> A-8010 Graz, Austria
> Tel.: +43(316)876-1751
> Fax: +43(316)876-1720
> E-Mail: mailto:gerald.lodron at joanneum.at
>
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list