[Insight-developers] Problem about Config ITK with VTK

Luis Ibanez luis.ibanez at kitware.com
Sun Apr 10 11:34:17 EDT 2005


Hi Dave,

In practice, when we use the file itkImageToVTKImageFilter.h in
projects that combine ITK and VTK, we simply copy the files into
the directory of that project.

The reason is that... these are just 4 files, .h and .txx.

It is not worth to make your application dependent on the entire
InsightApplications just for using these 4 files.

Please copy the files into your project. You will find them in the
directory:


     InsightApplications/Auxiliary/vtk



Regards,


    Luis



---------------------------
戴少伟 wrote:

> Hello,I am trying to config ITK with VTK,I have generated the Visual Studio workspace correctly,But when I build the project,
> there are a Error saying:
> fatal error C1083: Cannot open include file: 'itkImageToVTKImageFilter.h': No such file or directory
> I kown that the file itkImageToVTKImageFilter.h is in the InsightApplication directory,not in the InsightToolkit directory,so of cource it cann't find the file itkImageToVTKImageFilter.h ,now How can I config to make it build correctly? Need I Complie the InsightApplication? Or I can Copy the itkImageToVTKImageFilter.h to my Project directory, but that seems ugly? How can I let the complier kown th InsightApplication Directory?
> Thank you very much!
> 
> 
> 
>                Dave
>         daishaowei at 126.com
>           2005-04-09
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers





More information about the Insight-developers mailing list