[Insight-developers] Problems with itkGDCMSeriesFileNames/GDCM

Peter Cech pcech at vision.ee.ethz.ch
Mon Jul 3 12:04:13 EDT 2006


On Mon, Jul 03, 2006 at 10:36:15 -0400, Mathieu Malaterre wrote:
> Peter Cech wrote:
> >I tried to compile ITK with USE_SYSTEM_GDCM=ON, but the compilation
> >failed with both cvs checkouts of Version1_2 and Version1_3. What GDCM
> >version can be used as "system" one with current ITK?
> 
> We are internally using this new feature. Version1_3 will definitely not 
> work since the API was changed in a non-backward compatible way. But 
> Version1_2 should work, could you send the error log ?

With Version1_2:

Building CXX object Code/IO/CMakeFiles/ITKIO.dir/itkGDCMImageIO.o
/scratch/from_cvs/ITK/Insight/Code/IO/itkGDCMImageIO.cxx: In member function `
   virtual bool itk::GDCMImageIO::CanReadFile(const char*)':
/scratch/from_cvs/ITK/Insight/Code/IO/itkGDCMImageIO.cxx:192: error: 'class 
   gdcm::Document' has no member named 'CanReadFile'
make[2]: *** [Code/IO/CMakeFiles/ITKIO.dir/itkGDCMImageIO.o] Error 1
make[1]: *** [Code/IO/CMakeFiles/ITKIO.dir/all] Error 2



With GDCM 1.2.1 from sourceforge:
Building CXX object Code/IO/CMakeFiles/ITKIO.dir/itkGDCMImageIO.o
/scratch/from_cvs/ITK/Insight/Code/IO/itkGDCMImageIO.cxx: In member function `
   virtual bool itk::GDCMImageIO::CanReadFile(const char*)':
/scratch/from_cvs/ITK/Insight/Code/IO/itkGDCMImageIO.cxx:192: error: 'class 
   gdcm::Document' has no member named 'CanReadFile'
make[2]: *** [Code/IO/CMakeFiles/ITKIO.dir/itkGDCMImageIO.o] Error 1
make[1]: *** [Code/IO/CMakeFiles/ITKIO.dir/all] Error 2


Regards,
Peter


More information about the Insight-developers mailing list