[vtkusers] Build error for vtk-5.10.0-rc1 QtVTKRenderWindows project.
zlf
jxdw_zlf at yahoo.com.cn
Sat Mar 31 20:38:45 EDT 2012
My compile environment is visual studio 2008 sp1. All other projects could be
compiled successfully except SimpleView and QtVTKRenderWindows.
2>Linking...
1>SimpleView.cxx
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: class vtkScalarsToColors * __thiscall
vtkResliceImageViewer::GetLookupTable(void)"
(?GetLookupTable at vtkResliceImageViewer@@QAEPAVvtkScalarsToColors@@XZ)
referenced in function "public: __thiscall
QtVTKRenderWindows::QtVTKRenderWindows(int,char * * const)"
(??0QtVTKRenderWindows@@QAE at HQAPAD@Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: void __thiscall
vtkImagePlaneWidget::SetWindowLevel(double,double,int)"
(?SetWindowLevel at vtkImagePlaneWidget@@QAEXNNH at Z) referenced in function
"public: __thiscall QtVTKRenderWindows::QtVTKRenderWindows(int,char * *
const)" (??0QtVTKRenderWindows@@QAE at HQAPAD@Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: void __thiscall vtkImagePlaneWidget::SetSliceIndex(int)"
(?SetSliceIndex at vtkImagePlaneWidget@@QAEXH at Z) referenced in function
"public: __thiscall QtVTKRenderWindows::QtVTKRenderWindows(int,char * *
const)" (??0QtVTKRenderWindows@@QAE at HQAPAD@Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: void __thiscall vtkImagePlaneWidget::SetPlaneOrientation(int)"
(?SetPlaneOrientation at vtkImagePlaneWidget@@QAEXH at Z) referenced in function
"public: __thiscall QtVTKRenderWindows::QtVTKRenderWindows(int,char * *
const)" (??0QtVTKRenderWindows@@QAE at HQAPAD@Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: void __thiscall vtkImagePlaneWidget::SetPicker(class
vtkAbstractPropPicker *)"
(?SetPicker at vtkImagePlaneWidget@@QAEXPAVvtkAbstractPropPicker@@@Z)
referenced in function "public: __thiscall
QtVTKRenderWindows::QtVTKRenderWindows(int,char * * const)"
(??0QtVTKRenderWindows@@QAE at HQAPAD@Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: void __thiscall vtkResliceImageViewer::SetResliceCursor(class
vtkResliceCursor *)"
(?SetResliceCursor at vtkResliceImageViewer@@QAEXPAVvtkResliceCursor@@@Z)
referenced in function "public: __thiscall
QtVTKRenderWindows::QtVTKRenderWindows(int,char * * const)"
(??0QtVTKRenderWindows@@QAE at HQAPAD@Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: class vtkResliceCursor * __thiscall
vtkResliceImageViewer::GetResliceCursor(void)"
(?GetResliceCursor at vtkResliceImageViewer@@QAEPAVvtkResliceCursor@@XZ)
referenced in function "public: __thiscall
QtVTKRenderWindows::QtVTKRenderWindows(int,char * * const)"
(??0QtVTKRenderWindows@@QAE at HQAPAD@Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: void __thiscall vtkImagePlaneWidget::SetResliceInterpolate(int)"
(?SetResliceInterpolate at vtkImagePlaneWidget@@QAEXH at Z) referenced in function
"public: void __thiscall
vtkImagePlaneWidget::SetResliceInterpolateToLinear(void)"
(?SetResliceInterpolateToLinear at vtkImagePlaneWidget@@QAEXXZ)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: void __thiscall
vtkDistanceRepresentation::InstantiateHandleRepresentation(void)"
(?InstantiateHandleRepresentation at vtkDistanceRepresentation@@QAEXXZ)
referenced in function "public: virtual void __thiscall
QtVTKRenderWindows::AddDistanceMeasurementToView(int)"
(?AddDistanceMeasurementToView at QtVTKRenderWindows@@UAEXH at Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: void __thiscall
vtkDistanceRepresentation::SetHandleRepresentation(class
vtkHandleRepresentation *)"
(?SetHandleRepresentation at vtkDistanceRepresentation@@QAEXPAVvtkHandleRepresentation@@@Z)
referenced in function "public: virtual void __thiscall
QtVTKRenderWindows::AddDistanceMeasurementToView(int)"
(?AddDistanceMeasurementToView at QtVTKRenderWindows@@UAEXH at Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"protected: void __thiscall vtkAbstractWidget::SetWidgetRepresentation(class
vtkWidgetRepresentation *)"
(?SetWidgetRepresentation at vtkAbstractWidget@@IAEXPAVvtkWidgetRepresentation@@@Z)
referenced in function "public: void __thiscall
vtkDistanceWidget::SetRepresentation(class vtkDistanceRepresentation *)"
(?SetRepresentation at vtkDistanceWidget@@QAEXPAVvtkDistanceRepresentation@@@Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: static class vtkResliceImageViewer * __cdecl
vtkResliceImageViewer::New(void)" (?New at vtkResliceImageViewer@@SAPAV1 at XZ)
referenced in function "public: static class vtkSmartPointer<class
vtkResliceImageViewer> __cdecl vtkSmartPointer<class
vtkResliceImageViewer>::New(void)"
(?New@?$vtkSmartPointer at VvtkResliceImageViewer@@@@SA?AV1 at XZ)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: static class vtkImagePlaneWidget * __cdecl
vtkImagePlaneWidget::New(void)" (?New at vtkImagePlaneWidget@@SAPAV1 at XZ)
referenced in function "public: static class vtkSmartPointer<class
vtkImagePlaneWidget> __cdecl vtkSmartPointer<class
vtkImagePlaneWidget>::New(void)"
(?New@?$vtkSmartPointer at VvtkImagePlaneWidget@@@@SA?AV1 at XZ)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: static class vtkDistanceWidget * __cdecl
vtkDistanceWidget::New(void)" (?New at vtkDistanceWidget@@SAPAV1 at XZ) referenced
in function "public: static class vtkSmartPointer<class vtkDistanceWidget>
__cdecl vtkSmartPointer<class vtkDistanceWidget>::New(void)"
(?New@?$vtkSmartPointer at VvtkDistanceWidget@@@@SA?AV1 at XZ)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: void __thiscall vtkAbstractWidget::Render(void)"
(?Render at vtkAbstractWidget@@QAEXXZ) referenced in function "public: virtual
void __thiscall vtkResliceCursorCallback::Execute(class vtkObject *,unsigned
long,void *)" (?Execute at vtkResliceCursorCallback@@UAEXPAVvtkObject@@KPAX at Z)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: static class vtkPointHandleRepresentation2D * __cdecl
vtkPointHandleRepresentation2D::New(void)"
(?New at vtkPointHandleRepresentation2D@@SAPAV1 at XZ) referenced in function
"public: static class vtkSmartPointer<class vtkPointHandleRepresentation2D>
__cdecl vtkSmartPointer<class vtkPointHandleRepresentation2D>::New(void)"
(?New@?$vtkSmartPointer at VvtkPointHandleRepresentation2D@@@@SA?AV1 at XZ)
2>QtVTKRenderWindows.obj : error LNK2019: unresolved external symbol
"public: static class vtkDistanceRepresentation2D * __cdecl
vtkDistanceRepresentation2D::New(void)"
(?New at vtkDistanceRepresentation2D@@SAPAV1 at XZ) referenced in function
"public: static class vtkSmartPointer<class vtkDistanceRepresentation2D>
__cdecl vtkSmartPointer<class vtkDistanceRepresentation2D>::New(void)"
(?New@?$vtkSmartPointer at VvtkDistanceRepresentation2D@@@@SA?AV1 at XZ)
2>E:\vtk\VTK-5.10.0.RC1-bin\bin\Debug\QtVTKRenderWindows.exe : fatal error
LNK1120: 17 unresolved externals
2>Build log was saved at
"file://e:\vtk\VTK-5.10.0.RC1-bin\Examples\GUI\Qt\FourPaneViewer\QtVTKRenderWindows.dir\Debug\BuildLog.htm"
2>QtVTKRenderWindows - 18 error(s), 0 warning(s)
1>d:\QtSDK\Desktop\Qt\4.8.0\msvc2008\include\QtCore/qhash.h(71) : warning
C4127: conditional expression is constant
1>d:\QtSDK\Desktop\Qt\4.8.0\msvc2008\include\QtCore/qhash.h(80) : warning
C4127: conditional expression is constant
1>..\..\..\..\..\VTK-5.10.0.RC1\Examples\GUI\Qt\SimpleView\SimpleView.cxx(14)
: fatal error C1083: Cannot open include file: 'vtkDataObjectToTable.h': No
such file or directory
--
View this message in context: http://vtk.1045678.n5.nabble.com/Build-error-for-vtk-5-10-0-rc1-QtVTKRenderWindows-project-tp5609661p5609661.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list