[Insight-users] Problems using itkImageToVTKImageFilter

Fischer, Sven Sven.Fischer at medizin.uni-leipzig.de
Tue Jun 3 05:18:25 EDT 2008


Hi all,

 

I have some problems using itkImageToVTKImageFilter. It already worked
well before but now I get the following errors (the errors had been in
german, I tried to translate):

 

c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapI
TK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(31) :
error C2143: syntax error : missing ';' before '<'

c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapI
TK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(31) :
error C2501: 'ImageToVTKImageFilter': Missing memoryclass or
typespecifier

c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapI
TK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(31) :
error C2988: unrecognizable template declaration/definition

c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapI
TK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(31) :
error C2059: syntaxerror: '<'

c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapI
TK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(32) :
error C2039: 'ImageToVTKImageFilter': is not a member
of'operator``global namespace'''

c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapI
TK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(62) :
error C2588: '::~ImageToVTKImageFilter': illegal global destructor

c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapI
TK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(62) :
fatal error C1903: unable to recover from previous error(s); stopping
compilation 

 

As I already said it worked well before. I only commented the '#include
"itkImageToVTKImageFilter.h"' line out and then deleted the comment
signs again, so that it wasn't commented out any longer. Does anyone
know what could have caused the problem and how it could be solved?

 

Thanks in advance

Sven

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


More information about the Insight-users mailing list