[Insight-developers] Possible problem after FFT changes

Bradley Lowekamp blowekamp at mail.nih.gov
Thu Jul 7 16:33:21 EDT 2011


I went looking through the CMakeCache's and CMake config files, and I didn't see ITK_LIBRARIES clearly defined or assembled any place. So I just added a message in the top level CMakeLists.txt file for SimpleITK:

if(ITK_FOUND)
  include(${ITK_USE_FILE})
+  message( STATUS "ITK_LIBRARIES: ${ITK_LIBRARIES}" )
endif()

Produces:

ITK_LIBRARIES: itksys;itkvnl_algo;itkvnl;itkv3p_netlib;ITK-Common;itkNetlibSlatec;ITK-Statistics;itkzlib;itkhdf5_cpp;itkhdf5;ITK-Transform;ITK-IO-Base;ITK-IO-BMP;ITKEXPAT;itkopenjpeg;gdcmDICT;gdcmMSFF;ITK-IO-GDCM;ITK-IO-GIPL;itkjpeg;ITK-IO-JPEG;ITKMetaIO;ITK-IO-Meta;ITKznz;ITKniftiio;ITK-IO-NIFTI;ITKNrrdIO;ITK-IO-NRRD;itkpng;ITK-IO-PNG;itktiff;ITK-IO-TIFF;ITK-IO-VTK;ITK-Mesh;ITK-SpatialObjects;ITK-Path;ITK-QuadEdgeMesh;ITK-Optimizers;ITK-Polynomials;ITK-BiasCorrection;ITK-BioCell;ITKDICOMParser;ITK-FEM;ITK-IO-BioRad;ITK-IO-IPL;ITK-IO-GE;ITK-IO-LSM;ITK-IO-Siemens;ITK-IO-XML;ITK-IO-SpatialObjects;ITK-IO-Stimulate;ITK-KLMRegionGrowing;ITK-VTK;ITK-Watersheds;ITK-Deprecated;ITK-IO-HDF5;ITK-Review

I am able to run SimpleITK's FFT example and tests too. 

What is the output in Slicer? I am still suspicious, of some old information someplace. 

Brad

On Jul 7, 2011, at 4:15 PM, Bill Lorensen wrote:

> I cleaned my ITK and Slicer4 cache. I still get the same error.
> 
> 
> On Thu, Jul 7, 2011 at 3:34 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> I am not building with FFTW.
>> 
>> I'll try clearing my cache.
>> 
>> Bill
>> 
>> On Thu, Jul 7, 2011 at 3:15 PM, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:
>>> Bill,
>>> 
>>> Yes, that is most definitely related to my change.
>>> 
>>> Did you do a clean build? Are you building with FFTW?
>>> 
>>> I suspect that there is an old CMake cache variable with the removed library in it. My clean builds of ITK ( and dependent packages ) don't reference ITK-FFT in ITK_LIBRARIES.
>>> 
>>> Brad
>>> 
>>> On Jul 7, 2011, at 3:00 PM, Bill Lorensen wrote:
>>> 
>>>> Brad,
>>>> 
>>>> I updated my local ITK today and tried to build Slicer4.
>>>> 
>>>> My Slicer4 build is failing with this error:
>>>> /usr/bin/ld: cannot find -lITK-FFT
>>>> 
>>>> I am using ${ITK_LIBRARIES}. I suspect this error is related to your
>>>> recent merge.
>>>> 
>>>> Bill
>>> 
>>> 
>> 

========================================================
Bradley Lowekamp  
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110707/6b42e978/attachment.htm>


More information about the Insight-developers mailing list