[vtkusers] Weird link error - possibly 4.7.1??

Andrea Brambilla andrea.bram at gmail.com
Mon Nov 19 08:34:17 EST 2012


Billy Araujo <billyaraujo <at> gmail.com> writes:

> 
> 
> I also get this error:
> 
> 
> 2>vtkQtBarChart.obj : error LNK2019: unresolved external symbol 
"__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)" 
(__imp_?IsNan <at> vtkMath <at>  <at> SAHN <at> Z) referenced in function 
"public: virtual void __thiscall vtkQtBarChart::layoutChart(class QRectF const 
&)" (?layoutChart <at> vtkQtBarChart <at>  <at> UAEXABVQRectF <at>  <at>  <at> 
Z)
> 
> 2>vtkQtChartSeriesModelRange.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)" 
(__imp_?IsNan <at> vtkMath <at>  <at> SAHN <at> Z)
> 2>vtkQtLineChart.obj : error LNK2001: unresolved external symbol 
"__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)" 
(__imp_?IsNan <at> vtkMath <at>  <at> SAHN <at> Z)
> 
> 
> 
> I have built previous version of VTK with no problem.
> I am using version 5.10.1.
> 
> 
> 
> 
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: 
http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 


I get that same error, but only when I compile in Debug mode, when I compile in 
Release everything works fine!
Does anyone has any idea of why does that happen?






More information about the vtkusers mailing list