[vtkusers] building vtk errors
Feng Chen
crfzjutfirst at yahoo.cn
Mon Mar 19 10:06:01 EDT 2012
excuse me:
when i check the doxgen example mfc qt testing and so on. I build it with vs2008 but i have four failed as following:
1>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug Win32 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: vtkDLG, Configuration: Debug Win32 ------
3>------ Build started: Project: vtkMDI, Configuration: Debug Win32 ------
2>Linking...
3>Linking...
2>LINK : warning LNK4199: /DELAYLOAD:vtkIO.dll ignored; no imports found from vtkIO.dll
3>LINK : warning LNK4199: /DELAYLOAD:vtkIO.dll ignored; no imports found from vtkIO.dll
2>vtkDLGDlg.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class vtkDataSet * __thiscall vtkDataSetReader::GetOutput(void)" (__imp_?GetOutput at vtkDataSetReader@@QAEPAVvtkDataSet@@XZ) referenced in function "private: void __thiscall CvtkDLGDlg::ExecutePipeline(void)" (?ExecutePipeline at CvtkDLGDlg@@AAEXXZ)
3>vtkMDIDoc.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkDataSetReader * __cdecl vtkDataSetReader::New(void)" (__imp_?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 "__declspec(dllimport) public: static class vtkDataSetReader * __cdecl vtkDataSetReader::New(void)" (__imp_?New at vtkDataSetReader@@SAPAV1 at XZ) referenced in function "public: void __thiscall CvtkDLGDlg::OnBtnLoadFile(void)" (?OnBtnLoadFile at CvtkDLGDlg@@QAEXXZ)
3>vtkMDIView.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class vtkDataSet * __thiscall vtkDataSetReader::GetOutput(void)" (__imp_?GetOutput at vtkDataSetReader@@QAEPAVvtkDataSet@@XZ) referenced in function "private: void __thiscall CvtkMDIView::ExecutePipeline(void)" (?ExecutePipeline at CvtkMDIView@@AAEXXZ)
3>C:\VTK 5.8.0-bin\bin\Debug\vtkMDI.exe : fatal error LNK1120: 2 unresolved externals
2>C:\VTK 5.8.0-bin\bin\Debug\vtkDLG.exe : fatal error LNK1120: 2 unresolved externals
3>Build log was saved at "file://c:\VTK 5.8.0-bin\Examples\GUI\Win32\vtkMFC\vtkMDI\vtkMDI.dir\Debug\BuildLog.htm"
3>vtkMDI - 3 error(s), 1 warning(s)
2>Build log was saved at "file://c:\VTK 5.8.0-bin\Examples\GUI\Win32\vtkMFC\vtkDLG\vtkDLG.dir\Debug\BuildLog.htm"
2>vtkDLG - 3 error(s), 1 warning(s)
4>------ Build started: Project: Win32SampleMFC, Configuration: Debug Win32 ------
4>Linking...
4>LINK : warning LNK4199: /DELAYLOAD:vtkIO.dll ignored; no imports found from vtkIO.dll
4>SampleDoc.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkDataSetReader * __cdecl vtkDataSetReader::New(void)" (__imp_?New at vtkDataSetReader@@SAPAV1 at XZ) referenced in function "protected: __thiscall CSampleDoc::CSampleDoc(void)" (??0CSampleDoc@@IAE at XZ)
4>SampleDoc.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class vtkDataSet * __thiscall vtkDataSetReader::GetOutput(void)" (__imp_?GetOutput at vtkDataSetReader@@QAEPAVvtkDataSet@@XZ) referenced in function "public: virtual int __thiscall CSampleDoc::OnOpenDocument(char const *)" (?OnOpenDocument at CSampleDoc@@UAEHPBD at Z)
4>C:\VTK 5.8.0-bin\bin\Debug\Win32SampleMFC.exe : fatal error LNK1120: 2 unresolved externals
4>Build log was saved at "file://c:\VTK 5.8.0-bin\Examples\GUI\Win32\SampleMFC\Win32SampleMFC.dir\Debug\BuildLog.htm"
4>Win32SampleMFC - 3 error(s), 1 warning(s)
5>------ Build started: Project: vtkSDI, Configuration: Debug Win32 ------
6>------ Skipped Build: Project: DoxygenDoc, Configuration: Debug Win32 ------
6>Project not selected to build for this solution configuration
7>------ Skipped Build: Project: Experimental, Configuration: Debug Win32 ------
7>Project not selected to build for this solution configuration
8>------ Skipped Build: Project: Nightly, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
9>------ Skipped Build: Project: NightlyMemoryCheck, Configuration: Debug Win32 ------
9>Project not selected to build for this solution configuration
10>------ Skipped Build: Project: vtkMyDoxygenDoc, Configuration: Debug Win32 ------
10>Project not selected to build for this solution configuration
11>------ Skipped Build: Project: Continuous, Configuration: Debug Win32 ------
11>Project not selected to build for this solution configuration
5>Linking...
5>LINK : warning LNK4199: /DELAYLOAD:vtkIO.dll ignored; no imports found from vtkIO.dll
5>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkDataSetReader * __cdecl vtkDataSetReader::New(void)" (__imp_?New at vtkDataSetReader@@SAPAV1 at XZ) referenced in function "public: virtual int __thiscall CvtkSDIDoc::OnOpenDocument(char const *)" (?OnOpenDocument at CvtkSDIDoc@@UAEHPBD at Z)
5>vtkSDIDoc.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class vtkDataSet * __thiscall vtkDataSetReader::GetOutput(void)" (__imp_?GetOutput at vtkDataSetReader@@QAEPAVvtkDataSet@@XZ) referenced in function "private: void __thiscall CvtkSDIDoc::ExecutePipeline(void)" (?ExecutePipeline at CvtkSDIDoc@@AAEXXZ)
5>C:\VTK 5.8.0-bin\bin\Debug\vtkSDI.exe : fatal error LNK1120: 2 unresolved externals
5>Build log was saved at "file://c:\VTK 5.8.0-bin\Examples\GUI\Win32\vtkMFC\vtkSDI\vtkSDI.dir\Debug\BuildLog.htm"
5>vtkSDI - 3 error(s), 1 warning(s)
12>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
12>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 4 failed, 146 up-to-date, 8 skipped ==========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120319/99ce3145/attachment.htm>
More information about the vtkusers
mailing list