[vtkusers] Cannot open 'itkImageToVTKImageFilter.h'?

jiang jiang at TI.Uni-Trier.DE
Tue Sep 23 12:18:14 EDT 2003


Hi,
I want to transform itk data to vtk and render it. According to
GettingStartedII, I add #include "itkImageToVTKImageFilter.h" to my code.
However, there are fatal errors during compiling:
fatal error C1083: Cannot open include file: 'itkImageToVTKImageFilter.h':
No such file or directory

Should I add some other itk library to my CMakeLists? How should I do?
My current CMakeLists includes this line:TARGET_LINK_LIBRARIES(SeeThrough
ITKCommon ITKIO ITKBasicFilters vtkCommon vtkImaging vtkGraphics vtkIO
vtkFiltering vtkHybrid vtkRendering)

Thank you very much!


Chunyan




More information about the vtkusers mailing list