<div>Hi,</div><div> </div><div>I have a vtk program which i compiled for win32 and everything works fine. I am not moving to x64. i recompiled the vtk libraries with no errors using MSVC 2010 (with the solution file generated from Cmake Lists). . However, when i compile my program (now set on x64 settings and linking to the x64 VTK libraries, I get linker errors LNK2001 about the vtkLookupTable (the SetTableValue method) and the vtkDataArrayTemplate (WritePointer method) When i comment out the calls to SetTable ValueI'm able to compile -- even though other functions in vtkLookupTable are being used. i am also linking against vtkCommon.lib Any ideas why i may be getting this weird error?</div>
<div> </div><div>Linker problem i am getting is:</div><div><font size="1" face="Consolas"><font size="1" face="Consolas"><p>1>ImagingDataStructures.lib(CSpatialStripScanVisualization.obj) : error LNK2001: unresolved external symbol "public: void __cdecl vtkLookupTable::SetTableValue(int,double,double,double,double)" (?SetTableValue@vtkLookupTable@@QEAAXHNNNN@Z)</p>
<p>1>ImagingDataStructures.lib(CSpatialStripScanVisualization.obj) : error LNK2001: unresolved external symbol "public: void __cdecl vtkLookupTable::SetNumberOfTableValues(int)" (?SetNumberOfTableValues@vtkLookupTable@@QEAAXH@Z)</p>
<p>1>ImagingDataStructures.lib(CSpatialStripScanMatrix.obj) : error LNK2001: unresolved external symbol "public: int * __cdecl vtkDataArrayTemplate<int>::WritePointer(int,int)" (?WritePointer@?$vtkDataArrayTemplate@H@@QEAAPEAHHH@Z)</p>
<p>1>C:\dev\AurisSw\AurisSw\OCT\App\ToolOCTApp\x64\Release\\ToolOCTApp.exe : fatal error LNK1120: 3 unresolved externals</p><p> </p><p> </p><p>Thanks,<br>Serena</p></font></font></div>