Then make sure you have specified vtkMath lib in your CMake file or project page (if you are not using CMake).<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 10:17 PM, Andrea Brambilla <span dir="ltr">&lt;<a href="mailto:andrea.bram@gmail.com" target="_blank">andrea.bram@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, I have dynamic libraries, but I have 2 completely separate projects for compiling VTK, 1 for the Release and one for the Debug, and I have no overall environment variable set, so I guess they should not interfere<div class="HOEnZb">

<div class="h5"><div class="gmail_extra">

<br><br><div class="gmail_quote">On Mon, Nov 19, 2012 at 10:10 PM, Dženan Zukić <span dir="ltr">&lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<font><font face="verdana,sans-serif">Are you using dynamic libraries? If yes, you can have only one Debug/Release dlls on path. I recommend using static linking of VTK.</font></font><div class="gmail_extra"><br><br><div class="gmail_quote">





On Mon, Nov 19, 2012 at 2:34 PM, Andrea Brambilla <span dir="ltr">&lt;<a href="mailto:andrea.bram@gmail.com" target="_blank">andrea.bram@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div>Billy Araujo &lt;billyaraujo &lt;at&gt; <a href="http://gmail.com" target="_blank">gmail.com</a>&gt; writes:<br>
<br>
&gt;<br>
&gt;<br>
&gt; I also get this error:<br>
&gt;<br>
&gt;<br>
&gt; 2&gt;vtkQtBarChart.obj : error LNK2019: unresolved external symbol<br>
&quot;__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)&quot;<br>
</div>(__imp_?IsNan &lt;at&gt; vtkMath &lt;at&gt;  &lt;at&gt; SAHN &lt;at&gt; Z) referenced in function<br>
<div>&quot;public: virtual void __thiscall vtkQtBarChart::layoutChart(class QRectF const<br>
</div>&amp;)&quot; (?layoutChart &lt;at&gt; vtkQtBarChart &lt;at&gt;  &lt;at&gt; UAEXABVQRectF &lt;at&gt;  &lt;at&gt;  &lt;at&gt;<br>
<div>Z)<br>
&gt;<br>
&gt; 2&gt;vtkQtChartSeriesModelRange.obj : error LNK2001: unresolved external symbol<br>
&quot;__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)&quot;<br>
</div>(__imp_?IsNan &lt;at&gt; vtkMath &lt;at&gt;  &lt;at&gt; SAHN &lt;at&gt; Z)<br>
<div>&gt; 2&gt;vtkQtLineChart.obj : error LNK2001: unresolved external symbol<br>
&quot;__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)&quot;<br>
</div>(__imp_?IsNan &lt;at&gt; vtkMath &lt;at&gt;  &lt;at&gt; SAHN &lt;at&gt; Z)<br>
<div>&gt;<br>
&gt;<br>
&gt;<br>
&gt; I have built previous version of VTK with no problem.<br>
&gt; I am using version 5.10.1.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
<a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
<br>
<br>
I get that same error, but only when I compile in Debug mode, when I compile in<br>
Release everything works fine!<br>
Does anyone has any idea of why does that happen?<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>