[Insight-users] Bug compiling ITK3.20 with gcc 4.6.1. and solution

Susana Merino sumercav at gmail.com
Fri Oct 21 06:10:51 EDT 2011


   Dear itk-users,

   I recently switched to Kubuntu 11.10, architecture x86_64 and gcc 4.6.1. I had problems building 
ITK 3.20, with problems of type: 'ptrdiff_t' does not name a type.
   I don't know if anyone's had the same problem.... but just in case, for me the problem was solved 
by adding the header <cstddef> on the files:

Utilities/MetaIO/metaUtils.cxx
Code/IO/itkImageIORegion.h

   Best regards,
   Susana



More information about the Insight-users mailing list