[vtkusers] VTKMFC problem compile

raimi87 amich.randa at gmail.com
Mon Sep 12 06:39:27 EDT 2011


Hi i try to compile the exmaple VTKMFC  but it doesn't work it give me this
problem 


1>------ Build started: Project: vtkMDI, Configuration: Release Win32 ------
2>------ Build started: Project: vtkDLG, Configuration: Release Win32 ------
1>Linking...
2>Linking...
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl vtkObjectBase::operator delete(void *)"
(??3vtkObjectBase@@SAXPAX at Z) referenced in function
__unwindfunclet$?New at vtkCallbackCommand@@SAPAV1 at XZ$0
1>vtkMDIDoc.obj : error LNK2019: unresolved external symbol "public: static
class vtkDataSetReader * __cdecl vtkDataSetReader::New(void)"
(?New at vtkDataSetReader@@SAPAV1 at XZ) referenced in function "public: virtual
int __thiscall CvtkMDIDoc::OnOpenDocument(char const *)"
(?OnOpenDocument at CvtkMDIDoc@@UAEHPBD at Z)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "protected:
__thiscall vtkCallbackCommand::vtkCallbackCommand(void)"
(??0vtkCallbackCommand@@IAE at XZ) referenced in function "public: static class
vtkCallbackCommand * __cdecl vtkCallbackCommand::New(void)"
(?New at vtkCallbackCommand@@SAPAV1 at XZ)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl vtkObjectBase::operator delete(void *)"
(??3vtkObjectBase@@SAXPAX at Z) referenced in function
__unwindfunclet$?New at vtkCallbackCommand@@SAPAV1 at XZ$0
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "protected:
__thiscall vtkCallbackCommand::vtkCallbackCommand(void)"
(??0vtkCallbackCommand@@IAE at XZ) referenced in function "public: static class
vtkCallbackCommand * __cdecl vtkCallbackCommand::New(void)"
(?New at vtkCallbackCommand@@SAPAV1 at XZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: static
void * __cdecl vtkObjectBase::operator new(unsigned int)"
(??2vtkObjectBase@@SAPAXI at Z) referenced in function "public: static class
vtkCallbackCommand * __cdecl vtkCallbackCommand::New(void)"
(?New at vtkCallbackCommand@@SAPAV1 at XZ)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public: static
void * __cdecl vtkObjectBase::operator new(unsigned int)"
(??2vtkObjectBase@@SAPAXI at Z) referenced in function "public: static class
vtkCallbackCommand * __cdecl vtkCallbackCommand::New(void)"
(?New at vtkCallbackCommand@@SAPAV1 at XZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: static
class vtkTextMapper * __cdecl vtkTextMapper::New(void)"
(?New at vtkTextMapper@@SAPAV1 at XZ) referenced in function "public: __thiscall
CvtkDLGDlg::CvtkDLGDlg(class CWnd *)" (??0CvtkDLGDlg@@QAE at PAVCWnd@@@Z)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public: static
class vtkTextMapper * __cdecl vtkTextMapper::New(void)"
(?New at vtkTextMapper@@SAPAV1 at XZ) referenced in function "protected:
__thiscall CvtkMDIView::CvtkMDIView(void)" (??0CvtkMDIView@@IAE at XZ)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public: static
class vtkActor2D * __cdecl vtkActor2D::New(void)"
(?New at vtkActor2D@@SAPAV1 at XZ) referenced in function "protected: __thiscall
CvtkMDIView::CvtkMDIView(void)" (??0CvtkMDIView@@IAE at XZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: static
class vtkActor2D * __cdecl vtkActor2D::New(void)"
(?New at vtkActor2D@@SAPAV1 at XZ) referenced in function "public: __thiscall
CvtkDLGDlg::CvtkDLGDlg(class CWnd *)" (??0CvtkDLGDlg@@QAE at PAVCWnd@@@Z)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public: static
class vtkActor * __cdecl vtkActor::New(void)" (?New at vtkActor@@SAPAV1 at XZ)
referenced in function "protected: __thiscall
CvtkMDIView::CvtkMDIView(void)" (??0CvtkMDIView@@IAE at XZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: static
class vtkActor * __cdecl vtkActor::New(void)" (?New at vtkActor@@SAPAV1 at XZ)
referenced in function "public: __thiscall CvtkDLGDlg::CvtkDLGDlg(class CWnd
*)" (??0CvtkDLGDlg@@QAE at PAVCWnd@@@Z)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public: static
class vtkDataSetMapper * __cdecl vtkDataSetMapper::New(void)"
(?New at vtkDataSetMapper@@SAPAV1 at XZ) referenced in function "protected:
__thiscall CvtkMDIView::CvtkMDIView(void)" (??0CvtkMDIView@@IAE at XZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: static
class vtkDataSetMapper * __cdecl vtkDataSetMapper::New(void)"
(?New at vtkDataSetMapper@@SAPAV1 at XZ) referenced in function "public:
__thiscall CvtkDLGDlg::CvtkDLGDlg(class CWnd *)"
(??0CvtkDLGDlg@@QAE at PAVCWnd@@@Z)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: static
class vtkRenderer * __cdecl vtkRenderer::New(void)"
(?New at vtkRenderer@@SAPAV1 at XZ) referenced in function "public: __thiscall
CvtkDLGDlg::CvtkDLGDlg(class CWnd *)" (??0CvtkDLGDlg@@QAE at PAVCWnd@@@Z)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public: static
class vtkRenderer * __cdecl vtkRenderer::New(void)"
(?New at vtkRenderer@@SAPAV1 at XZ) referenced in function "protected: __thiscall
CvtkMDIView::CvtkMDIView(void)" (??0CvtkMDIView@@IAE at XZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: void
__thiscall vtkRenderer::ResetCamera(void)"
(?ResetCamera at vtkRenderer@@QAEXXZ) referenced in function "private: void
__thiscall CvtkDLGDlg::ExecutePipeline(void)"
(?ExecutePipeline at CvtkDLGDlg@@AAEXXZ)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public: void
__thiscall vtkRenderer::AddActor(class vtkProp *)"
(?AddActor at vtkRenderer@@QAEXPAVvtkProp@@@Z) referenced in function "private:
void __thiscall CvtkMDIView::ExecutePipeline(void)"
(?ExecutePipeline at CvtkMDIView@@AAEXXZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: void
__thiscall vtkRenderer::AddActor(class vtkProp *)"
(?AddActor at vtkRenderer@@QAEXPAVvtkProp@@@Z) referenced in function "private:
void __thiscall CvtkDLGDlg::ExecutePipeline(void)"
(?ExecutePipeline at CvtkDLGDlg@@AAEXXZ)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public: void
__thiscall vtkDataSetMapper::SetInput(class vtkDataSet *)"
(?SetInput at vtkDataSetMapper@@QAEXPAVvtkDataSet@@@Z) referenced in function
"private: void __thiscall CvtkMDIView::ExecutePipeline(void)"
(?ExecutePipeline at CvtkMDIView@@AAEXXZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: void
__thiscall vtkDataSetMapper::SetInput(class vtkDataSet *)"
(?SetInput at vtkDataSetMapper@@QAEXPAVvtkDataSet@@@Z) referenced in function
"private: void __thiscall CvtkDLGDlg::ExecutePipeline(void)"
(?ExecutePipeline at CvtkDLGDlg@@AAEXXZ)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public: class
vtkDataSet * __thiscall vtkDataSetReader::GetOutput(void)"
(?GetOutput at vtkDataSetReader@@QAEPAVvtkDataSet@@XZ) referenced in function
"private: void __thiscall CvtkMDIView::ExecutePipeline(void)"
(?ExecutePipeline at CvtkMDIView@@AAEXXZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: class
vtkDataSet * __thiscall vtkDataSetReader::GetOutput(void)"
(?GetOutput at vtkDataSetReader@@QAEPAVvtkDataSet@@XZ) referenced in function
"private: void __thiscall CvtkDLGDlg::ExecutePipeline(void)"
(?ExecutePipeline at CvtkDLGDlg@@AAEXXZ)
1>vtkMDIView.obj : error LNK2019: unresolved external symbol "public:
unsigned long __thiscall vtkObject::AddObserver(unsigned long,class
vtkCommand *,float)" (?AddObserver at vtkObject@@QAEKKPAVvtkCommand@@M at Z)
referenced in function "public: virtual void __thiscall
CvtkMDIView::OnInitialUpdate(void)" (?OnInitialUpdate at CvtkMDIView@@UAEXXZ)
1>C:\Users\RANDA\Desktop\vtkMFC\vtkMDI\Release\vtkMDI.exe : fatal error
LNK1120: 13 unresolved externals
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public:
unsigned long __thiscall vtkObject::AddObserver(unsigned long,class
vtkCommand *,float)" (?AddObserver at vtkObject@@QAEKKPAVvtkCommand@@M at Z)
referenced in function "protected: virtual int __thiscall
CvtkDLGDlg::OnInitDialog(void)" (?OnInitDialog at CvtkDLGDlg@@MAEHXZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: static
class vtkDataSetReader * __cdecl vtkDataSetReader::New(void)"
(?New at vtkDataSetReader@@SAPAV1 at XZ) referenced in function "public: void
__thiscall CvtkDLGDlg::OnBtnLoadFile(void)"
(?OnBtnLoadFile at CvtkDLGDlg@@QAEXXZ)
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "public: void
__thiscall vtkRenderer::RemoveActor(class vtkProp *)"
(?RemoveActor at vtkRenderer@@QAEXPAVvtkProp@@@Z) referenced in function
"public: void __thiscall CvtkDLGDlg::OnBtnLoadFile(void)"
(?OnBtnLoadFile at CvtkDLGDlg@@QAEXXZ)
2>C:\Users\RANDA\Desktop\vtkMFC\vtkDLG\Release\vtkDLG.exe : fatal error
LNK1120: 15 unresolved externals
1>Build log was saved at
"file://c:\Users\RANDA\Desktop\vtkMFC\vtkMDI\vtkMDI.dir\Release\BuildLog.htm"
1>vtkMDI - 14 error(s), 0 warning(s)
2>Build log was saved at
"file://c:\Users\RANDA\Desktop\vtkMFC\vtkDLG\vtkDLG.dir\Release\BuildLog.htm"
2>vtkDLG - 16 error(s), 0 warning(s)
3>------ Build started: Project: vtkSDI, Configuration: Release Win32 ------
3>Linking...
3>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "public: static
class vtkTextMapper * __cdecl vtkTextMapper::New(void)"
(?New at vtkTextMapper@@SAPAV1 at XZ) referenced in function "protected:
__thiscall CvtkSDIDoc::CvtkSDIDoc(void)" (??0CvtkSDIDoc@@IAE at XZ)
3>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "public: static
class vtkActor2D * __cdecl vtkActor2D::New(void)"
(?New at vtkActor2D@@SAPAV1 at XZ) referenced in function "protected: __thiscall
CvtkSDIDoc::CvtkSDIDoc(void)" (??0CvtkSDIDoc@@IAE at XZ)
3>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "public: static
class vtkActor * __cdecl vtkActor::New(void)" (?New at vtkActor@@SAPAV1 at XZ)
referenced in function "protected: __thiscall CvtkSDIDoc::CvtkSDIDoc(void)"
(??0CvtkSDIDoc@@IAE at XZ)
3>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "public: static
class vtkDataSetMapper * __cdecl vtkDataSetMapper::New(void)"
(?New at vtkDataSetMapper@@SAPAV1 at XZ) referenced in function "protected:
__thiscall CvtkSDIDoc::CvtkSDIDoc(void)" (??0CvtkSDIDoc@@IAE at XZ)
3>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "public: void
__thiscall vtkRenderer::RemoveActor(class vtkProp *)"
(?RemoveActor at vtkRenderer@@QAEXPAVvtkProp@@@Z) referenced in function
"private: void __thiscall CvtkSDIDoc::RemoveActors(void)"
(?RemoveActors at CvtkSDIDoc@@AAEXXZ)
3>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "public: void
__thiscall vtkRenderer::ResetCamera(void)"
(?ResetCamera at vtkRenderer@@QAEXXZ) referenced in function "private: void
__thiscall CvtkSDIDoc::ExecutePipeline(void)"
(?ExecutePipeline at CvtkSDIDoc@@AAEXXZ)
3>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "public: void
__thiscall vtkRenderer::AddActor(class vtkProp *)"
(?AddActor at vtkRenderer@@QAEXPAVvtkProp@@@Z) referenced in function "private:
void __thiscall CvtkSDIDoc::ExecutePipeline(void)"
(?ExecutePipeline at CvtkSDIDoc@@AAEXXZ)
3>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "public: void
__thiscall vtkDataSetMapper::SetInput(class vtkDataSet *)"
(?SetInput at vtkDataSetMapper@@QAEXPAVvtkDataSet@@@Z) referenced in function
"private: void __thiscall CvtkSDIDoc::ExecutePipeline(void)"
(?ExecutePipeline at CvtkSDIDoc@@AAEXXZ)
3>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "public: class
vtkDataSet * __thiscall vtkDataSetReader::GetOutput(void)"
(?GetOutput at vtkDataSetReader@@QAEPAVvtkDataSet@@XZ) referenced in function
"private: void __thiscall CvtkSDIDoc::ExecutePipeline(void)"
(?ExecutePipeline at CvtkSDIDoc@@AAEXXZ)
3>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "public: static
class vtkDataSetReader * __cdecl vtkDataSetReader::New(void)"
(?New at vtkDataSetReader@@SAPAV1 at XZ) referenced in function "public: virtual
int __thiscall CvtkSDIDoc::OnOpenDocument(char const *)"
(?OnOpenDocument at CvtkSDIDoc@@UAEHPBD at Z)
3>vtkSDIView.obj : error LNK2019: unresolved external symbol "public: static
void __cdecl vtkObjectBase::operator delete(void *)"
(??3vtkObjectBase@@SAXPAX at Z) referenced in function
__unwindfunclet$?New at vtkCallbackCommand@@SAPAV1 at XZ$0
3>vtkSDIView.obj : error LNK2019: unresolved external symbol "protected:
__thiscall vtkCallbackCommand::vtkCallbackCommand(void)"
(??0vtkCallbackCommand@@IAE at XZ) referenced in function "public: static class
vtkCallbackCommand * __cdecl vtkCallbackCommand::New(void)"
(?New at vtkCallbackCommand@@SAPAV1 at XZ)
3>vtkSDIView.obj : error LNK2019: unresolved external symbol "public: static
void * __cdecl vtkObjectBase::operator new(unsigned int)"
(??2vtkObjectBase@@SAPAXI at Z) referenced in function "public: static class
vtkCallbackCommand * __cdecl vtkCallbackCommand::New(void)"
(?New at vtkCallbackCommand@@SAPAV1 at XZ)
3>vtkSDIView.obj : error LNK2019: unresolved external symbol "public: static
class vtkRenderer * __cdecl vtkRenderer::New(void)"
(?New at vtkRenderer@@SAPAV1 at XZ) referenced in function "public: __thiscall
CvtkSDIView::CvtkSDIView(void)" (??0CvtkSDIView@@QAE at XZ)
3>vtkSDIView.obj : error LNK2019: unresolved external symbol "public:
unsigned long __thiscall vtkObject::AddObserver(unsigned long,class
vtkCommand *,float)" (?AddObserver at vtkObject@@QAEKKPAVvtkCommand@@M at Z)
referenced in function "public: virtual void __thiscall
CvtkSDIView::OnInitialUpdate(void)" (?OnInitialUpdate at CvtkSDIView@@UAEXXZ)
3>C:\Users\RANDA\Desktop\vtkMFC\vtkSDI\Release\vtkSDI.exe : fatal error
LNK1120: 15 unresolved externals
3>Build log was saved at
"file://c:\Users\RANDA\Desktop\vtkMFC\vtkSDI\vtkSDI.dir\Release\BuildLog.htm"
3>vtkSDI - 16 error(s), 0 warning(s)
4>------ Skipped Build: Project: ALL_BUILD, Configuration: Release Win32
------
4>Project not selected to build for this solution configuration 
========== Build: 0 succeeded, 3 failed, 1 up-to-date, 1 skipped ==========
what's wrong with it ?


--
View this message in context: http://vtk.1045678.n5.nabble.com/VTKMFC-problem-compile-tp4793737p4793737.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list