<div class="gmail_quote">On Fri, May 18, 2012 at 6:01 AM, jimmigoo <span dir="ltr">&lt;<a href="mailto:jimmigoo@gmail.com" target="_blank">jimmigoo@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">
Hi everybody!<br>
I&#39;ve just changed VTK version from 5.5.0 to 5.8.0.<br>
I&#39;m trying to compile my development solution on Visual Studio 2010,<br>
and I&#39;m in trouble with x64 ( _X_M64 ) Platform Solution.<br>
I received a few linking error like these:<br>
<br>
2&gt;VTK_LIB.lib(vtkCleanArrays.obj) : error LNK2001: unresolved external<br>
symbol &quot;public: int __cdecl vtkFieldData::GetNumberOfTuples(void)&quot;<br>
(?GetNumberOfTuples@vtkFieldData@@QEAAHXZ)<br>
2&gt;VTK_LIB.lib(vtkGenericGeometryFilter.obj) : error LNK2019: unresolved<br>
external symbol &quot;public: void __cdecl vtkIdList::SetNumberOfIds(int)&quot;<br>
(?SetNumberOfIds@vtkIdList@@QEAAXH@Z) referenced in function &quot;protected:<br>
virtual int __cdecl vtkGenericGeometryFilter::RequestData(class<br>
vtkInformation *,class vtkInformationVector * *,class vtkInformationVector<br>
*)&quot;<br>
(?RequestData@vtkGenericGeometryFilter@@MEAAHPEAVvtkInformation@@PEAPEAVvtkInformationVector@@PEAV3@@Z)<br>
2&gt;VTK_LIB.lib(vtkGenericGeometryFilter.obj) : error LNK2019: unresolved<br>
external symbol &quot;public: void __cdecl vtkPolyData::Allocate(int,int)&quot;<br>
(?Allocate@vtkPolyData@@QEAAXHH@Z) referenced in function &quot;protected:<br>
virtual int __cdecl vtkGenericGeometryFilter::RequestData(class<br>
vtkInformation *,class vtkInformationVector * *,class vtkInformationVector<br>
*)&quot;<br>
(?RequestData@vtkGenericGeometryFilter@@MEAAHPEAVvtkInformation@@PEAPEAVvtkInformationVector@@PEAV3@@Z)<br>
<br>
All VTK libraries ( vtkCommon.lib, etc.. ) are correctly added on library<br>
dependencies.<br>
All VTK header directories are correctly added on INCLUDE directory on C/C++<br>
option property.<br>
<br>
The strange fact is that everything links well and application runs using<br>
Win32 platform.<br>
<br>
So, I really like to know how to solve this strange fact, it&#39;s driving me<br>
crazy!<br>
<br>
I&#39;m looking for your reply,<br>
regards,<br>
<br>
Francesco<br></blockquote><div><br></div><div>You should create the project with CMake. It will take care of this for you.  As a spot check, are you including vtkGenericFiltering.lib? That is the library that vtkGenericGeometryFilter should be in.<br clear="all">
<br>David</div></div>