<div dir="ltr">Hi Michael,<div><br></div><div>I just wanted to let you know that I can confirm the same error with Visual Studio 2008. I don't have a fix for it at the moment, though.</div><div><br></div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 16, 2015 at 12:40 PM, Hillier, Michael (NRCan/RNCan) <span dir="ltr"><<a href="mailto:michael.hillier@canada.ca" target="_blank">michael.hillier@canada.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-CA">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></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 :<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></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.
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></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.
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">Does anyone know how to fix this?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">Thanks<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-CA">Michael Hillier<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>