[Insight-users] problem with itkImageToVTKImageFilter.h

Ryma rima.sb4 at gmail.com
Sun Feb 12 11:46:50 EST 2012


Hi,
Thank you for replay, actually i tried both angle brackets and quotes around
this file, but nothing changed, i still have the same error.
To David: this is a path of this file
C:\ITK\InsightApplications\Auxiliary\vtk, is this the right position?
thank you,


Dominique Töpfer wrote:
> 
> 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,
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 

-- 
View this message in context: http://old.nabble.com/problem-with-itkImageToVTKImageFilter.h-tp33309697p33310630.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list