<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: 'itkVTKImageToImageFilter.h': No such file or directory</span><br>
</font></font><br><div class="gmail_quote">2012/1/24 David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></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ć <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>>:<br>
<div><div class="h5">> Hi guys,<br>
><br>
> I am trying to switch from VTK 5.6.1 to 5.8.0. I use Visual Studio 2010 x64.<br>
> My project compiles properly when linked against vtk5.6.1, but gives the<br>
> following error if I try to use vtk5.8.0:<br>
><br>
> error LNK2019: unresolved external symbol "public: class vtkImageStencilData<br>
> * __cdecl vtkImageStencilSource::GetOutput(void)"<br>
> (?GetOutput@vtkImageStencilSource@@QEAAPEAVvtkImageStencilData@@XZ)<br>
> referenced in function "public: class itk::SmartPointer<class<br>
> itk::Image<unsigned char,3> > __cdecl Vertebra::getMask(void)"<br>
> (?getMask@Vertebra@@QEAA?AV?$SmartPointer@V?$Image@E$02@itk@@@itk@@XZ)<br>
><br>
> I changed CMakeLists.txt from:<br>
> TARGET_LINK_LIBRARIES(myProject vtkVolumeRendering vtkRendering vtkCommon<br>
> QVTK)<br>
> to:<br>
> TARGET_LINK_LIBRARIES(myProject ${VTK_LIBRARIES} QVTK)<br>
> I also tried adding vtkImaging to the library list, but it makes no<br>
> difference.<br>
><br>
> Do you have a solution for this?<br>
><br>
> Regards,<br>
> 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'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>