[Insight-users] Python Wrapping error, ITKIOMeta
Hadjilucas, Lucas
lucas.hadjilucas05 at imperial.ac.uk
Mon Jan 28 14:19:10 EST 2013
Hi Matt,
Yes my build has vtk support, I am using VTK 5.8 from the official ubuntu repositories.
Cheers,
Lucas
-----Original Message-----
From: Matt McCormick [mailto:matt.mccormick at kitware.com]
Sent: 28 January 2013 18:45
To: Hadjilucas, Lucas
Cc: insight-users at itk.org
Subject: Re: [Insight-users] Python Wrapping error, ITKIOMeta
Hi Lucas,
This problem sounds familiar. Does your build have VTK support?
Thanks,
Matt
On Mon, Jan 28, 2013 at 5:57 PM, Hadjilucas, Lucas <lucas.hadjilucas05 at imperial.ac.uk> wrote:
> Hi,
>
>
>
> I am trying to compile the latest ITK from the git repository head and
> when enabling the ITK_WRAP_PYTHON, I get the following compilation errors:
>
>
>
> [ 38%] Generating itkMetaImageIO.xml
>
> [ 38%] Built target ITKIONIFTIGccXML
>
> [ 38%] Built target ITKIONRRDGccXML
>
> [ 38%] Built target ITKIOPNGGccXML
>
> [ 38%] Built target ITKIOStimulateGccXML
>
> [ 38%] Built target ITKIOVTKGccXML
>
> [ 38%] Built target ITKTestKernelGccXML
>
> [ 38%] Built target ITKImageComposeGccXML
>
> [ 38%] Generating itkMeshToMeshFilter.xml
>
> In file included from
> /home/scrabble/apps/itk/ITK/bin/Wrapping/Modules/ITKIOMeta/itkMetaImageIO.cxx:21:
>
> /home/scrabble/apps/itk/ITK/Modules/IO/Meta/include/itkMetaImageIO.h:72:
> error: ISO C++ forbids declaration of 'MetaImage' with no type
>
> /home/scrabble/apps/itk/ITK/Modules/IO/Meta/include/itkMetaImageIO.h:72:
> error: expected ';' before '*' token
>
> /home/scrabble/apps/itk/ITK/Modules/IO/Meta/include/itkMetaImageIO.h:156:
> error: 'MetaImage' does not name a type
>
> /home/scrabble/apps/itk/ITK/Modules/IO/Meta/include/itkMetaImageIO.h:
> In member function 'virtual void
> itk::MetaImageIO::SetDoublePrecision(unsigned
> int)':
>
> /home/scrabble/apps/itk/ITK/Modules/IO/Meta/include/itkMetaImageIO.h:96:
> error: 'm_MetaImage' was not declared in this scope
>
> /home/scrabble/apps/itk/ITK/Modules/IO/Meta/include/itkMetaImageIO.h:
> In member function 'virtual bool itk::MetaImageIO::CanStreamRead()':
>
> /home/scrabble/apps/itk/ITK/Modules/IO/Meta/include/itkMetaImageIO.h:122:
> error: 'm_MetaImage' was not declared in this scope
>
> make[2]: *** [Wrapping/Modules/ITKIOMeta/itkMetaImageIO.xml] Error 1
>
> make[1]: ***
> [Wrapping/Modules/ITKIOMeta/CMakeFiles/ITKIOMetaGccXML.dir/all]
> Error 2
>
> make[1]: *** Waiting for unfinished jobs....
>
>
>
>
>
> Any idea why this is happening ?
>
>
>
> Kind regards,
>
> Lucas
>
>
> _____________________________________
> 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 Insight-users
mailing list