[Insight-users] ITK V4.5.0 - Python Wrapping

Peter Bloomfield peter.bloomfield at camhpet.ca
Thu Jan 9 15:41:29 EST 2014


Hi,

I have just installed ITK V4.5.0 on my 64-bit linux box, running 
openSuSE 12.2, gcc version 4.7.1.

I checked the box to 'wrap_python', and left the pixel types and 
dimensions as defined in cmake. All compiled and installed, but I get 
the following warnings from within python when checking the itk version.

Is there something else I need to check in cmake during the build 
process to resolve this; should more data types be checked?

Many thanks

Peter

Python 2.7.3 (default, Apr 14 2012, 08:58:41) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import itk
 >>> itk.Version.GetITKVersion()
Warning: template itk::VectorContainer<unsignedlong,float>
   already defined as <class 
'itkVectorContainerPython.itkVectorContainerULF'>
   is redefined as    <class 
'itkVectorContainerPython.itkVectorContainerULF'>
Warning: template already defined 'itk::VectorContainer<unsignedlong,float>'
Warning: Unknown parameter 'itk::Matrix< float, 2, 2 >' in template 
'itk::VectorContainer'
Warning: template itk::VectorContainer<unsignedlong,double>
   already defined as <class 
'itkVectorContainerPython.itkVectorContainerULD'>
   is redefined as    <class 
'itkVectorContainerPython.itkVectorContainerULD'>
Warning: template already defined 
'itk::VectorContainer<unsignedlong,double>'
Warning: Unknown parameter 'itk::Matrix< double, 2, 2 >' in template 
'itk::VectorContainer'
Warning: template itk::VectorContainer<unsignedlong,float>
   already defined as <class 
'itkVectorContainerPython.itkVectorContainerULF'>
   is redefined as    <class 
'itkVectorContainerPython.itkVectorContainerULF'>
Warning: template already defined 'itk::VectorContainer<unsignedlong,float>'
Warning: Unknown parameter 'itk::Matrix< float, 3, 3 >' in template 
'itk::VectorContainer'
Warning: template itk::VectorContainer<unsignedlong,double>
   already defined as <class 
'itkVectorContainerPython.itkVectorContainerULD'>
   is redefined as    <class 
'itkVectorContainerPython.itkVectorContainerULD'>
Warning: template already defined 
'itk::VectorContainer<unsignedlong,double>'
Warning: Unknown parameter 'itk::Matrix< double, 3, 3 >' in template 
'itk::VectorContainer'
Warning: template itk::VectorContainer<unsignedlong,float>
   already defined as <class 
'itkVectorContainerPython.itkVectorContainerULF'>
   is redefined as    <class 
'itkVectorContainerPython.itkVectorContainerULF'>
Warning: template already defined 'itk::VectorContainer<unsignedlong,float>'
Warning: template itk::VectorContainer<unsignedchar,float>
   already defined as <class 
'itkVectorContainerPython.itkVectorContainerUCF'>
   is redefined as    <class 
'itkVectorContainerPython.itkVectorContainerUCF'>
Warning: template already defined 'itk::VectorContainer<unsignedchar,float>'
Warning: template itk::Array2D<double>
   already defined as <class 'itkArray2DPython.itkArray2DD'>
   is redefined as    <class 'itkArray2DPython.itkArray2DD'>
Warning: template already defined 'itk::Array2D<double>'
Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< 
float,2,2,float,float >' in template 'itk::PointSet'
Warning: Unknown parameter 'itk::DefaultDynamicMeshTraits< 
float,2,2,float,float >' in template 'itk::PointSet'
Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< 
float,3,3,float,float >' in template 'itk::PointSet'
Warning: Unknown parameter 'itk::DefaultDynamicMeshTraits< 
float,3,3,float,float >' in template 'itk::PointSet'
Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< 
double,2,2,double,double,double >' in template 'itk::PointSet'
Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< 
double,3,3,double,double,double >' in template 'itk::PointSet'
Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< itk::Matrix 
<double,2,2>,2,2,float,float,itk::Matrix <double,2,2> >' in template 
'itk::PointSet'
Warning: Unknown parameter 'itk::DefaultStaticMeshTraits< itk::Matrix 
<double,3,3>,3,3,float,float,itk::Matrix <double,3,3> >' in template 
'itk::PointSet'
'4.5.0'
 >>> exit()

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140109/b6d0b8e5/attachment.htm>


More information about the Insight-users mailing list