Hi all,
<div><br></div><div>I am recently upgrading my project from vtk 5.0 to vtk 5.8. </div><div>I am using visual studio 2008 and there i am getting an linking error in vtkMFCWindow as below:</div><div><br></div><div><div>vtkPBFEAView.obj : warning LNK4217: locally defined symbol ?DrawDC@vtkMFCWindow@@QAEXPAVCDC@@@Z (public: void __thiscall vtkMFCWindow::DrawDC(class CDC *)) imported in function &quot;protected: virtual void __thiscall CvtkPBFEAView::OnDraw(class CDC *)&quot; (?OnDraw@CvtkPBFEAView@@MAEXPAVCDC@@@Z)</div>
<div><br></div>
<div>1&gt;vtkMDIView.obj : warning LNK4049: locally defined symbol ?DrawDC@vtkMFCWindow@@QAEXPAVCDC@@@Z (public: void __thiscall vtkMFCWindow::DrawDC(class CDC *)) imported</div><div>1&gt;vtkPBFEAView.obj : warning LNK4217: locally defined symbol ??0vtkMFCWindow@@QAE@PAVCWnd@@@Z (public: __thiscall vtkMFCWindow::vtkMFCWindow(class CWnd *)) imported in function &quot;public: void __thiscall vtkPBFEAViewImpl::initialize(class CWnd *)&quot; (?initialize@vtkPBFEAViewImpl@@QAEXPAVCWnd@@@Z)</div>
<div><br></div>
<div>1&gt;vtkMDIView.obj : warning LNK4049: locally defined symbol ??0vtkMFCWindow@@QAE@PAVCWnd@@@Z (public: __thiscall vtkMFCWindow::vtkMFCWindow(class CWnd *)) imported</div><div>1&gt;vtkPBFEAView.obj : warning LNK4217: locally defined symbol ??1vtkMFCWindow@@UAE@XZ (public: virtual __thiscall vtkMFCWindow::~vtkMFCWindow(void)) imported in function &quot;public: virtual void * __thiscall vtkMFCWindow::`scalar deleting destructor&#39;(unsigned int)&quot; (??_GvtkMFCWindow@@UAEPAXI@Z)</div>
<div><br></div>
<div>1&gt;vtkMDIView.obj : warning LNK4217: locally defined symbol ??1vtkMFCWindow@@UAE@XZ (public: virtual __thiscall vtkMFCWindow::~vtkMFCWindow(void)) imported in function &quot;public: void __thiscall vtkMDIViewImpl::adjust_contours(int,double,double)&quot; (?adjust_contours@vtkMDIViewImpl@@QAEXHNN@Z)</div>
<div><br></div>
<div>1&gt;vtkMFCWindow.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) const vtkMFCWindow::`vftable&#39;&quot; (__imp_??_7vtkMFCWindow@@6B@) referenced in function &quot;public: __thiscall vtkMFCWindow::vtkMFCWindow(class CWnd *)&quot; (??0vtkMFCWindow@@QAE@PAVCWnd@@@Z)</div>
</div><div><br></div><div>Can anyone explain me the reason for this error?</div><div>Thanks in advance.</div>