[ITK Community] [Insight-users] ITK V4.5.0 - Python Wrapping
Matt McCormick
matt.mccormick at kitware.com
Thu Jan 9 18:24:33 EST 2014
Hi Peter,
Good to hear it has compiled for you. These warnings are due to some
cleanup that needs to be done in the wrapping, but the package should
still be functional.
Thanks,
Matt
On Thu, Jan 9, 2014 at 12:41 PM, Peter Bloomfield
<peter.bloomfield at camhpet.ca> wrote:
> 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()
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
More information about the Community
mailing list