<font><font face="verdana,sans-serif">With this simplified example I get a different error though:<br><span style="font-family:courier new,monospace">D:\Repo\bugTester\bugTester.cpp(6): fatal error C1083: Cannot open include file: &#39;itkVTKImageToImageFilter.h&#39;: No such file or directory</span><br>

</font></font><br><div class="gmail_quote">2012/1/24 David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

2012/1/24 Dženan Zukić &lt;<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>&gt;:<br>
<div><div class="h5">&gt; Hi guys,<br>
&gt;<br>
&gt; I am trying to switch from VTK 5.6.1 to 5.8.0. I use Visual Studio 2010 x64.<br>
&gt; My project compiles properly when linked against vtk5.6.1, but gives the<br>
&gt; following error if I try to use vtk5.8.0:<br>
&gt;<br>
&gt; error LNK2019: unresolved external symbol &quot;public: class vtkImageStencilData<br>
&gt; * __cdecl vtkImageStencilSource::GetOutput(void)&quot;<br>
&gt; (?GetOutput@vtkImageStencilSource@@QEAAPEAVvtkImageStencilData@@XZ)<br>
&gt; referenced in function &quot;public: class itk::SmartPointer&lt;class<br>
&gt; itk::Image&lt;unsigned char,3&gt; &gt; __cdecl Vertebra::getMask(void)&quot;<br>
&gt; (?getMask@Vertebra@@QEAA?AV?$SmartPointer@V?$Image@E$02@itk@@@itk@@XZ)<br>
&gt;<br>
&gt; I changed CMakeLists.txt from:<br>
&gt; TARGET_LINK_LIBRARIES(myProject vtkVolumeRendering vtkRendering vtkCommon<br>
&gt; QVTK)<br>
&gt; to:<br>
&gt; TARGET_LINK_LIBRARIES(myProject ${VTK_LIBRARIES} QVTK)<br>
&gt; I also tried adding vtkImaging to the library list, but it makes no<br>
&gt; difference.<br>
&gt;<br>
&gt; Do you have a solution for this?<br>
&gt;<br>
&gt; Regards,<br>
&gt; Dženan<br>
<br>
</div></div>Can you post an example to the WishList<br>
(<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx#Wish_List" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx#Wish_List</a>) ? I&#39;ll take a<br>
look and see if I can reproduce.<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br>