[Insight-users] problem with itkImageToVTKImageFilter.h

Dominique Töpfer dominique at toepfer-web.de
Sun Feb 12 09:01:23 EST 2012


Hi,

did you use angle brackets instead of quotes around the include file? 
Try using

#include "itkImageToVTKImageFilter.h"

If the file is in your project folder, this should work.

HTH
Dominique

On 02/12/2012 01:37 PM, Ryma wrote:
> Hi itk'users,
> i'm new to itk, i installed itk 4.0 and vtk 5.6 with Cmake 2.8 successfully.
> I tested itk with the example of "Hello world" and it works. But when i
> tried to use an example to use both itk and vtk this error appears
>
> "fatal error C1083: Cannot open include file: 'itkImageToVTKImageFilter.h':
> No such file or directory"
>
>    I've searched about this error and i verified if
> itkImageToVTKImageFilter.h exists under C:\InsightApplications\Auxiliary\vtk
> and i've copied the following files in my project folder
>        itkImageToVTKImageFilter.h
>        itkImageToVTKImageFilter.txx
>        itkVTKImageToImageFilter.h
>        itkVTKImageToImageFilter.txx
>   But the error still appears :(
> Can someone help me please?
> Thank you in advance,



More information about the Insight-users mailing list