<div class="gmail_quote">On Fri, May 18, 2012 at 6:01 AM, jimmigoo <span dir="ltr"><<a href="mailto:jimmigoo@gmail.com" target="_blank">jimmigoo@gmail.com</a>></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've just changed VTK version from 5.5.0 to 5.8.0.<br>
I'm trying to compile my development solution on Visual Studio 2010,<br>
and I'm in trouble with x64 ( _X_M64 ) Platform Solution.<br>
I received a few linking error like these:<br>
<br>
2>VTK_LIB.lib(vtkCleanArrays.obj) : error LNK2001: unresolved external<br>
symbol "public: int __cdecl vtkFieldData::GetNumberOfTuples(void)"<br>
(?GetNumberOfTuples@vtkFieldData@@QEAAHXZ)<br>
2>VTK_LIB.lib(vtkGenericGeometryFilter.obj) : error LNK2019: unresolved<br>
external symbol "public: void __cdecl vtkIdList::SetNumberOfIds(int)"<br>
(?SetNumberOfIds@vtkIdList@@QEAAXH@Z) referenced in function "protected:<br>
virtual int __cdecl vtkGenericGeometryFilter::RequestData(class<br>
vtkInformation *,class vtkInformationVector * *,class vtkInformationVector<br>
*)"<br>
(?RequestData@vtkGenericGeometryFilter@@MEAAHPEAVvtkInformation@@PEAPEAVvtkInformationVector@@PEAV3@@Z)<br>
2>VTK_LIB.lib(vtkGenericGeometryFilter.obj) : error LNK2019: unresolved<br>
external symbol "public: void __cdecl vtkPolyData::Allocate(int,int)"<br>
(?Allocate@vtkPolyData@@QEAAXHH@Z) referenced in function "protected:<br>
virtual int __cdecl vtkGenericGeometryFilter::RequestData(class<br>
vtkInformation *,class vtkInformationVector * *,class vtkInformationVector<br>
*)"<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's driving me<br>
crazy!<br>
<br>
I'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>