[Insight-developers] Could not create IO object for file cthead1.png

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Tue Mar 15 10:55:59 EDT 2011


Hi,

I've mostly fixed the build of wrappers with the modularized ITK, but  
the tests are all broken because of that problem:

RuntimeError: /home/glehmann/src/ITK/ITK/IO/Base/include/ 
itkImageFileReader.txx:144:
  Could not create IO object for file /home/glehmann/src/ITK/Wrapping/ 
WrapITK/images/cthead1.png
   Tried to create one of the following:
   You probably failed to set a file suffix, or
     set the suffix to an unsupported type.

or the similar problem for the writer:

RuntimeError: /home/glehmann/src/ITK/ITK/IO/Base/include/ 
itkImageFileWriter.txx:157:
  Could not create IO object for file CastImageFilter.png
   Tried to create one of the following:
   You probably failed to set a file suffix, or
     set the suffix to an unsupported type.


It seems that the ImageIO are not registered.

Any idea of what can lead to this behavior?

Thanks,

Gaëtan

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110315/de938f28/attachment.pgp>


More information about the Insight-developers mailing list