<div dir="ltr">Did you set the path these files correctly?<br><br>Jothy<br><br><div class="gmail_quote">On Mon, Feb 13, 2012 at 11:11 AM, Ryma <span dir="ltr">&lt;<a href="mailto:rima.sb4@gmail.com">rima.sb4@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
i&#39;ve tried all the possibilitiess but i have the same error: fatal error<br>
C1083: Cannot open include file: &#39;itkImageToVTKImageFilter.h&#39;: No such file<br>
or directory<br>
Does someone know something about this problem, please?<br>
thanks,<br>
<br>
Ryma wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt; Thank you for replay, actually i tried both angle brackets and quotes<br>
&gt; around this file, but nothing changed, i still have the same error.<br>
&gt; To David: this is a path of this file<br>
&gt; C:\ITK\InsightApplications\Auxiliary\vtk, is this the right position?<br>
&gt; thank you,<br>
&gt;<br>
&gt;<br>
&gt; Dominique Töpfer wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; did you use angle brackets instead of quotes around the include file?<br>
&gt;&gt; Try using<br>
&gt;&gt;<br>
&gt;&gt; #include &quot;itkImageToVTKImageFilter.h&quot;<br>
&gt;&gt;<br>
&gt;&gt; If the file is in your project folder, this should work.<br>
&gt;&gt;<br>
&gt;&gt; HTH<br>
&gt;&gt; Dominique<br>
&gt;&gt;<br>
&gt;&gt; On 02/12/2012 01:37 PM, Ryma wrote:<br>
&gt;&gt;&gt; Hi itk&#39;users,<br>
&gt;&gt;&gt; i&#39;m new to itk, i installed itk 4.0 and vtk 5.6 with Cmake 2.8<br>
&gt;&gt;&gt; successfully.<br>
&gt;&gt;&gt; I tested itk with the example of &quot;Hello world&quot; and it works. But when i<br>
&gt;&gt;&gt; tried to use an example to use both itk and vtk this error appears<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &quot;fatal error C1083: Cannot open include file:<br>
&gt;&gt;&gt; &#39;itkImageToVTKImageFilter.h&#39;:<br>
&gt;&gt;&gt; No such file or directory&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    I&#39;ve searched about this error and i verified if<br>
&gt;&gt;&gt; itkImageToVTKImageFilter.h exists under<br>
&gt;&gt;&gt; C:\InsightApplications\Auxiliary\vtk<br>
&gt;&gt;&gt; and i&#39;ve copied the following files in my project folder<br>
&gt;&gt;&gt;        itkImageToVTKImageFilter.h<br>
&gt;&gt;&gt;        itkImageToVTKImageFilter.txx<br>
&gt;&gt;&gt;        itkVTKImageToImageFilter.h<br>
&gt;&gt;&gt;        itkVTKImageToImageFilter.txx<br>
&gt;&gt;&gt;   But the error still appears :(<br>
&gt;&gt;&gt; Can someone help me please?<br>
&gt;&gt;&gt; Thank you in advance,<br>
&gt;&gt;<br>
&gt;&gt; _____________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt;&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
--<br>
View this message in context: <a href="http://old.nabble.com/problem-with-itkImageToVTKImageFilter.h-tp33309697p33314081.html" target="_blank">http://old.nabble.com/problem-with-itkImageToVTKImageFilter.h-tp33309697p33314081.html</a><br>

Sent from the ITK - Users mailing list archive at Nabble.com.<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>