<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-CA">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">I am having trouble building paraview from source whenever I toggle ‘BUILD_EXAMPLES’ in cmake. I use Visual Studio to compile the source code. Here are examples of the compiler errors :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Error 14389 error LNK2019: unresolved external symbol "void __cdecl vtkRenderingFreeType_AutoInit_Construct(void)" (?vtkRenderingFreeType_AutoInit_Construct@@YAXXZ) referenced in function "public: __cdecl vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit(void)"
(??0vtkRenderingCore_AutoInit@@QEAA@XZ) [C:\Development\ParaView\ParaView-v4.4.0-source\ParaView-v4.4.0-source\_build\Examples\All\Plugins\Autostart\Autostart.vcxproj] C:\Development\ParaView\ParaView-v4.4.0-source\ParaView-v4.4.0-source\_build\pqMyApplicationStarterImplementation.obj
ParaViewExamples<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Error 14390 error LNK2001: unresolved external symbol "void __cdecl vtkRenderingFreeType_AutoInit_Construct(void)" (?vtkRenderingFreeType_AutoInit_Construct@@YAXXZ) [C:\Development\ParaView\ParaView-v4.4.0-source\ParaView-v4.4.0-source\_build\Examples\All\Plugins\Autostart\Autostart.vcxproj]
C:\Development\ParaView\ParaView-v4.4.0-source\ParaView-v4.4.0-source\_build\moc_pqMyApplicationStarterImplementation.obj ParaViewExamples<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">All the compile errors are related to vtkRenderingFreeType. These errors are producing when generating debug and release builds. I have also tried compiling on different computers with different versions of visual studio
and I always get the same results. Whenever, I disable the ‘BUILD_EXAMPLES’ in cmake it builds successfully.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">It’s very clear that the vtkRenderingFreeType library is not being linked in the ‘ParaViewExamples’ project in the ParaView.sln. Normally I would just include the library in linker for that project, but looking at the
properties of the ‘ParaViewExamples’ project there is no ‘Linker’ tab in the property page. Obviously, the project did not get properly generated via cmake.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Does anyone know how to fix this?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Michael Hillier<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>