<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.bold
        {}
.MsoChpDefault
        {}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-SG" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello, <br>
<br>
I am a new user to <span class="bold">VTK</span>, and my usage of the library is through the Point Cloud Library (PCL) v1.4.0.
<br>
<br>
I have built both the 32-<span class="bold">bit</span> and <span class="bold">64</span>-<span class="bold">bit</span> (static) versions of the library. My program works with the 32-<span class="bold">bit</span> version of the libraries. However, the
<span class="bold">64</span>-<span class="bold">bit</span> version of <span class="bold">
VTK</span> and PCL does not link with my program. Here are the specifics: <br>
<br>
- MSVC 2010 x64 Compiler (for all libraries and my code). <br>
- Windows 7 Professional <span class="bold">64</span>-<span class="bold">Bit</span> Platform
<br>
- <span class="bold">VTK</span> is statically linked <br>
<br>
I have included all the .lib files from <span class="bold">vtk</span> for the linking.
<br>
<br>
4 linking errors are observed (partially extracted): <br>
error LNK2001: unresolved external symbol &quot;public: void __cdecl <span class="bold">
vtkDataArrayTemplate</span>&lt;float&gt;::SetArray(float *,int,int,int)&quot; (?SetArray@?$<span class="bold">vtkDataArrayTemplate</span>@M@@QEAAXPEAMHHH@Z)
<br>
error LNK2001: unresolved external symbol &quot;private: void __cdecl pcl::visualization::PCLVisualizer::updateCells(class
<span class="bold">vtkSmartPointer</span>&lt;class <span class="bold">vtkIdTypeArray</span>&gt;&nbsp;&amp;,class
<span class="bold">vtkSmartPointer</span>&lt;class <span class="bold">vtkIdTypeArray</span>&gt;&nbsp;&amp;,int)&quot; (?updateCells@PCLVisualizer@visualization@pcl@@AEAAXAEAV?$<span class="bold">vtkSmartPointer</span>@VvtkIdTypeArray@@@@0H@Z)
<br>
error LNK2001: unresolved external symbol &quot;public: void __cdecl <span class="bold">
vtkDataArrayTemplate</span>&lt;unsigned char&gt;::SetArray(unsigned char *,int,int,int)&quot; (?SetArray@?$<span class="bold">vtkDataArrayTemplate</span>@E@@QEAAXPEAEHHH@Z)
<br>
error LNK2001: unresolved external symbol &quot;public: void __cdecl <span class="bold">
vtkCellArray</span>::SetCells(int,class <span class="bold">vtkIdTypeArray</span> *)&quot; (?SetCells@<span class="bold">vtkCellArray</span>@@QEAAXPHEAVvtkIdTypeArray@@@Z)
<br>
<br>
Here is the command line for linking (certain portions are replaced with a &quot;macro&quot; instead&quot;:
<br>
/OUT &quot;%OUTPUT_FILE_PATH_AND_NAME%.exe&quot; /VERBOSE:Lib /INCREMENTAL:NO /NOLOGO /LIBPATH:&quot;%LIBPATH%&quot; &quot;pcl_visualization.lib&quot; &quot;pcl_common.lib&quot; &quot;<span class="bold">vtkCharts</span>.lib&quot; &quot;<span class="bold">vtkCommon</span>.lib&quot; &quot;<span class="bold">vtkDICOMParser</span>.lib&quot;
 &quot;<span class="bold">vtkFiltering</span>.lib&quot; &quot;<span class="bold">vtkGenericFiltering</span>.lib&quot; &quot;<span class="bold">vtkGeovis</span>.lib&quot; &quot;<span class="bold">vtkGraphics</span>.lib&quot; &quot;<span class="bold">vtkHybrid</span>.lib&quot; &quot;<span class="bold">vtkIO</span>.lib&quot;
 &quot;<span class="bold">vtkImaging</span>.lib&quot; &quot;<span class="bold">vtkInfovis</span>.lib&quot; &quot;<span class="bold">vtkNetCDF</span>.lib&quot; &quot;<span class="bold">vtkNetCDF_cxx</span>.lib&quot; &quot;<span class="bold">vtkViews</span>.lib&quot; &quot;<span class="bold">vtkVolumeRendering</span>.lib&quot;
 &quot;<span class="bold">vtkWidgets</span>.lib&quot; &quot;<span class="bold">vtkalglib</span>.lib&quot; &quot;<span class="bold">vtkexollc</span>.lib&quot; &quot;<span class="bold">vtkexpat</span>.lib&quot; &quot;<span class="bold">vtkfreetype</span>.lib&quot; &quot;<span class="bold">vtkftgl</span>.lib&quot; &quot;<span class="bold">vtkhdf5</span>.lib&quot;
 &quot;<span class="bold">vtkjpeg</span>.lib&quot; &quot;<span class="bold">vtklibxml2</span>.lib&quot; &quot;<span class="bold">vtkmetaio</span>.lib&quot; &quot;<span class="bold">vtkpng</span>.lib&quot; &quot;<span class="bold">vtkproj4</span>.lib&quot; &quot;<span class="bold">vtksqlite</span>.lib&quot; &quot;<span class="bold">vtksys</span>.lib&quot;
 &quot;<span class="bold">vtktiff</span>.lib&quot; &quot;<span class="bold">vtkverdict</span>.lib&quot; &quot;<span class="bold">vtkzlib</span>.lib&quot; &quot;<span class="bold">vtkRendering</span>.lib&quot; &quot;opengl32.lib&quot; &quot;kernel32.lib&quot; &quot;user32.lib&quot; &quot;gdi32.lib&quot; &quot;winspool.lib&quot; &quot;comdlg32.lib&quot; &quot;advapi32.lib&quot;
 &quot;shell32.lib&quot; &quot;ole32.lib&quot; &quot;oleaut32.lib&quot; &quot;uuid.lib&quot; &quot;odbc32.lib&quot; &quot;odbccp32.lib&quot; /MANIFEST /ManifestFile:&quot;%MANIFEST_FILE_NAME% /ALLOWISOLATION /MANIFESTUAC:&quot;level='asInvoker' uiAccess='false'&quot; /DEBUG /PDB:&quot;%PDB_FILE% /OPT:REF /OPT:ICF /PGF:&quot;%PGD_FILE%&quot; /LTCG
 /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ERRORREPORT:QUEUE <br>
<br>
Thank you in advance.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span lang="EN-US" style="color:#004080">Regards,</span><span lang="EN-US">
<br>
<span style="color:#004080">Stephen Chai Kian Ping</span> <br>
<span style="color:#004080">Senior Member of Technical Staff</span> <br>
<span style="color:#004080">DSO National Laboratories</span><br>
<br>
</span></p>
<p class="MsoNormal">&nbsp;</p>
</div>
<br>
<span style="font-size:10.0pt; font-family:&quot;Arial&quot;; color:blue"><b>DSO 40th Anniversary &#8211; Celebrating 40 years of Serious Fun. 1972 &#8211; 2012&nbsp;</b></span>
</body>
</html>