MantisBT - VTK
View Issue Details
0014011VTK(No Category)public2013-04-15 06:512013-07-10 10:13
sxmc 
Dave DeMarle 
normalminorhave not tried
closedwon't fix 
5.10.1 
 
TBD
incorrect functionality
0014011: vtkQtChart debug linking issue in Visual Studio
Whenever I try to compile the vtkQtChart module in debug mode in Visual Studio 2010, it throws a few errors:

Error 597 error LNK2019: unresolved external symbol "__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)" (__imp_?IsNan@vtkMath@@SAHN@Z) referenced in function "public: virtual void __cdecl vtkQtBarChart::layoutChart(class QRectF const &)" (?layoutChart@vtkQtBarChart@@UEAAXAEBVQRectF@@@Z) D:\VTK\5.10.1-x64\GUISupport\Qt\Chart\vtkQtBarChart.obj
Error 598 error LNK2001: unresolved external symbol "__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)" (__imp_?IsNan@vtkMath@@SAHN@Z) D:\VTK\5.10.1-x64\GUISupport\Qt\Chart\vtkQtChartSeriesModelRange.obj
Error 599 error LNK2001: unresolved external symbol "__declspec(dllimport) public: static int __cdecl vtkMath::IsNan(double)" (__imp_?IsNan@vtkMath@@SAHN@Z) D:\VTK\5.10.1-x64\GUISupport\Qt\Chart\vtkQtLineChart.obj

This can be fixed by linking to vtkCommon.lib, but shouldn't it link to it by default?
Sorry, qtcharts are deprecated in 5.10 and removed in 6.0.
If we make a 5.10.2 (unlikely) we can revisit this.
No tags attached.
Issue History
2013-04-15 06:51sxmcNew Issue
2013-07-10 10:12Dave DeMarleAssigned To => Dave DeMarle
2013-07-10 10:12Dave DeMarleStatusbacklog => tabled
2013-07-10 10:13Dave DeMarleStatustabled => closed
2013-07-10 10:13Dave DeMarleResolutionopen => won't fix
2013-07-10 10:13Dave DeMarleAdditional Information Updatedbug_revision_view_page.php?rev_id=633#r633

There are no notes attached to this issue.