[vtkusers] Linking error mfc example

usman ali usman1266 at yahoo.com
Wed Jun 3 07:04:26 EDT 2009











when i run mfc sdi example code in vs2005 i got this error can any body solve this issue thanks in advance
 
 
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkMFCWindow::DrawDC(class CDC *)" (__imp_?DrawDC at vtkMFCWindow@@QAEXPAVCDC@@@Z) referenced in function "public: virtual void __thiscall CvtkSDIView::OnDraw(class CDC *)" (?OnDraw at CvtkSDIView@@UAEXPAVCDC@@@Z) vtksdiView.obj 
Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall vtkMFCWindow::vtkMFCWindow(class CWnd *)" (__imp_??0vtkMFCWindow@@QAE at PAVCWnd@@@Z) referenced in function "public: virtual void __thiscall CvtkSDIView::OnInitialUpdate(void)" (?OnInitialUpdate at CvtkSDIView@@UAEXXZ) vtksdiView.obj 
Error 3 error LNK2001: unresolved external symbol "public: virtual void __thiscall vtkMFCWindow::AssertValid(void)const " (?AssertValid at vtkMFCWindow@@UBEXXZ) vtksdiView.obj 
Error 4 error LNK2001: unresolved external symbol "public: virtual void __thiscall vtkMFCWindow::Dump(class CDumpContext &)const " (?Dump at vtkMFCWindow@@UBEXAAVCDumpContext@@@Z) vtksdiView.obj 
Error 5 error LNK2001: unresolved external symbol "protected: virtual struct AFX_MSGMAP const * __thiscall vtkMFCWindow::GetMessageMap(void)const " (?GetMessageMap at vtkMFCWindow@@MBEPBUAFX_MSGMAP@@XZ) vtksdiView.obj 
Error 6 error LNK2001: unresolved external symbol "public: virtual void __thiscall vtkMFCWindow::SetRenderWindow(class vtkWin32OpenGLRenderWindow *)" (?SetRenderWindow at vtkMFCWindow@@UAEXPAVvtkWin32OpenGLRenderWindow@@@Z) vtksdiView.obj 
Error 7 error LNK2001: unresolved external symbol "public: virtual class vtkWin32OpenGLRenderWindow * __thiscall vtkMFCWindow::GetRenderWindow(void)" (?GetRenderWindow at vtkMFCWindow@@UAEPAVvtkWin32OpenGLRenderWindow@@XZ) vtksdiView.obj 
Error 8 error LNK2001: unresolved external symbol "public: virtual class vtkRenderWindowInteractor * __thiscall vtkMFCWindow::GetInteractor(void)" (?GetInteractor at vtkMFCWindow@@UAEPAVvtkRenderWindowInteractor@@XZ) vtksdiView.obj 
Error 9 error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall vtkMFCWindow::~vtkMFCWindow(void)" (__imp_??1vtkMFCWindow@@UAE at XZ) referenced in function "public: virtual void * __thiscall vtkMFCWindow::`scalar deleting destructor'(unsigned int)" (??_GvtkMFCWindow@@UAEPAXI at Z) vtksdiView.obj 
Error 10 fatal error LNK1120: 9 unresolved externals I:\LUMS Project Data\Code\vtksdi\Debug\vtksdi.exe 



----------------------------------------------------------------------
Regards,
Usman Ali 
 



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090603/878e898c/attachment.htm>


More information about the vtkusers mailing list