[Insight-developers] FFTW : undefined reference

Paul Koshevoy koshevoy at sci.utah.edu
Wed Jun 28 11:23:30 EDT 2006


Alan wrote:
> Hi folks,
>
> I am trying to use the FFTW library in ITK.
> Although there are some details provided by Julien in the following post :
> http://public.kitware.com/pipermail/insight-users/2005-November/015757.html
> I cannot succeed in linking with the FFTW lib. through ITK.
> I always get "undefined reference" at the linking stage.
> What am I missing ?
> Thanks for any hint.
>
> Alan
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>   
You should add fftw3 to the TARGET_LINK_LIBRARIES for your program.

    Paul.

P.S.

I've written a fftw wrapper class for working with 2D data in ITK.
If you are interested, I can post the source code.



More information about the Insight-developers mailing list