[Insight-users] Problems using itkImageToVTKImageFilter
Luis Ibanez
luis.ibanez at kitware.com
Tue Jun 3 17:33:20 EDT 2008
Hi Sven,
1) Why did you modify this file ?
2) Have you tried restoring the files in this directory
to their original state in ITK 3.2 ?
3) It looks like you have not yet restored the files
to what they were before your edits....
You could make a diff with the files from ITK 3.2 by
downloading selective files from:
http://www.itk.org/cgi-bin/viewcvs.cgi/Wrapping/WrapITK/ExternalProjects/ItkVtkGlue/src/?root=Insight&pathrev=ITK-3-2
It may be simpler to download ITK 3.2 again and
restore your source tree.
Please let us know what you find,
Thanks
Luis
---------------------------
Fischer, Sven wrote:
> 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\WrapITK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(31)
> : error C2143: syntax error : missing ';' before '<'
>
> c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapITK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(31)
> : error C2501: 'ImageToVTKImageFilter': Missing memoryclass or typespecifier
>
> c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapITK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(31)
> : error C2988: unrecognizable template declaration/definition
>
> c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapITK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(31)
> : error C2059: syntaxerror: '<'
>
> c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapITK\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\WrapITK\ExternalProjects\ItkVtkGlue\src\itkImageToVTKImageFilter.txx(62)
> : error C2588: '::~ImageToVTKImageFilter': illegal global destructor
>
> c:\src\openMAF\Libraries\ITK\Sources\InsightToolkit-3.2.0\Wrapping\WrapITK\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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list