<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">Regarding this error:</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">error: &quot;FFTW 3.3.2 or later is required so that FFTW_WISDOM_ONLY is</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">defined.&quot;</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div>Did you try FFTW 3.3.3 ?</div><a href="http://www.fftw.org/download.html">http://www.fftw.org/download.html</a><br>
<div><br></div><div>Did I miss something(sorry, I didn&#39;t go through the entire stream)</div><div><br></div><div>P.S.</div><div>When you build your own project and using ITK as an external library, as long as you set up &quot;ITK_DIR&quot; correctly, </div>
<div>the corresponding ${ITK_DIR}/ ITKConfig.cmake will be used.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 4:43 PM, DVigneault <span dir="ltr">&lt;<a href="mailto:davis.vigneault@gmail.com" target="_blank">davis.vigneault@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello again--<br>
<br>
I started this thread a while back because I&#39;d been having trouble getting a<br>
complex result from an inverse FFT.  I was advised to use the<br>
FFTWInverseFFTImageFilter, which required that I install fftw3 and then<br>
rebuild ITK with ITK_USE_REVIEW, ITK_USE_FFTWD, and ITK_USE_SYSTEM_FFTW set<br>
to on.  However, after taking these steps, I get this error when trying to<br>
compile  this example<br>
&lt;<a href="http://www.itk.org/Doxygen/html/Filtering_2FFTDirectInverse2_8cxx-example.html" target="_blank">http://www.itk.org/Doxygen/html/Filtering_2FFTDirectInverse2_8cxx-example.html</a>&gt;<br>
(I&#39;ve only changed &#39;float&#39; to &#39;double&#39; and &#39;ITK_USE_FFTF&#39; to &#39;ITK_USE_FFTD&#39;<br>
in the example).<br>
<br>
error: &quot;FFTW 3.3.2 or later is required so that FFTW_WISDOM_ONLY is<br>
defined.&quot;<br>
<br>
I came across something which I *hope* will help to solve the problem.  I<br>
noticed that the ITKConfig.cmake file in my ITK build directory has the<br>
appropriate settings, but the ITKConfig.cmake file in my<br>
/usr/local/lib/cmake/ITK-4.4/ directory does not (exerpts pasted below).<br>
Should I be concerned about this, and could this be the cause of my problem?<br>
If so, how could I fix it?  Also, if anyone could post a CMakeLists.txt file<br>
that they have used to build the above example, it would be greatly<br>
appreciated!<br>
<br>
Build directory:<br>
<br>
# Add configuration with FFTW<br>
set(ITK_USE_FFTWD &quot;ON&quot;)<br>
set(ITK_USE_FFTWF &quot;OFF&quot;)<br>
set(ITK_USE_SYSTEM_FFTW &quot;ON&quot;)<br>
set(ITK_FFTW_INCLUDE_PATH &quot;/usr/local/include&quot;)<br>
set(ITK_FFTW_LIBDIR &quot;/usr/local/lib&quot;)<br>
<br>
/usr/local/lib/cmake/ITK-4.4/:<br>
<br>
# Add configuration with FFTW<br>
set(ITK_USE_FFTWD &quot;OFF&quot;)<br>
set(ITK_USE_FFTWF &quot;OFF&quot;)<br>
set(ITK_USE_SYSTEM_FFTW &quot;OFF&quot;)<br>
set(ITK_FFTW_INCLUDE_PATH<br>
&quot;${ITK_INSTALL_PREFIX}/include/ITK-4.4/Algorithms&quot;)<br>
set(ITK_FFTW_LIBDIR &quot;${ITK_INSTALL_PREFIX}/lib/ITK-4.4&quot;)<br>
<br>
<br>
Best, and thanks,<br>
<br>
--Davis<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/Obtaining-Real-Result-from-Inverse-Fourier-Transform-tp32814p32898.html" target="_blank">http://itk-users.7.n7.nabble.com/Obtaining-Real-Result-from-Inverse-Fourier-Transform-tp32814p32898.html</a><br>

Sent from the ITK - Users mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div><br></div>---------------------------------------------<br><b>Xiaoxiao Liu</b>, Ph.D.<div><div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">R &amp; D Engineer</span></font></div>
<div><div><a href="http://www.kitware.com/" target="_blank">Kitware Inc</a>.</div></div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Clifton Park, NY</span><div><div>Phone: (518) 881-4924  or  <span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">(518) 371-3971 x124</span></div>
<div><font face="Verdana, Arial, Helvetica, sans-serif"><span style="line-height:31px;font-size:x-small"><br></span></font></div></div></div></div></div>
</div>