[Insight-users] problem with itkImageToVTKImageFilter.h

Ryma rima.sb4 at gmail.com
Tue Feb 14 08:36:25 EST 2012


So i think, i succeed the building ITK and InsightApplications.
Ryma

Ryma wrote:
> 
> Ok Cory.
> In VTK_DIR, i put the path of binary directory of VTK which is
> C:\download\VTKCmake.
> Is this correct?
> Ryma
> 
> Cory Quammen wrote:
>> 
>> Ryma,
>> 
>> Please keep the discussion the list so that others may participate.
>> 
>> Since you didn't post any of the errors, I can only speculate that you
>> didn't set the VTK_DIR CMake variable for ITK. This must be set to the
>> directory of your VTK build. You must build VTK first before
>> configuring ITK to use the ITK VTK glue class.
>> 
>> Hope that helps,
>> Cory
>> 
>> On Tue, Feb 14, 2012 at 3:43 AM, rima sb <rima.sb4 at gmail.com> wrote:
>>> Hi Cory,
>>> Thank you for reply, i've enabled  Module_ITKVTKGlue  as you told me,
>>> but
>>> building  Module_ITKVTKGlue  generates a lot of errors.
>>> Do you think if i should respect the order of installation, that's means
>>> i
>>> have to istall ITK before VTK? Because, i've been using VTK since months
>>> and
>>> it works well on my machine and now i'm trying to use the functionality
>>> of
>>> ITK library?
>>> Thank you in advance,
>>> Ryma
>>>
>>>
>>> 2012/2/13 Cory Quammen <cquammen at cs.unc.edu>
>>>>
>>>> You need to enable Module_ITKVTKGlue in CMake.
>>>>
>>>> Cory
>>>>
>>>> On Sun, Feb 12, 2012 at 7:37 AM, Ryma <rima.sb4 at gmail.com> 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,
>>>> > --
>>>> > View this message in context:
>>>> >
>>>> http://old.nabble.com/problem-with-itkImageToVTKImageFilter.h-tp33309697p33309697.html
>>>> > Sent from the ITK - Users mailing list archive at Nabble.com.
>>>> >
>>>> > _____________________________________
>>>> > 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
>>>>
>>>>
>>>>
>>>> --
>>>> Cory Quammen
>>>> Research Associate
>>>> Department of Computer Science
>>>> The University of North Carolina at Chapel Hill
>>>
>>>
>> 
>> 
>> 
>> -- 
>> Cory Quammen
>> Research Associate
>> Department of Computer Science
>> The University of North Carolina at Chapel Hill
>> _____________________________________
>> 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-tp33309697p33321966.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list