[vtkusers] again installation
sxkockara at ualr.edu
sxkockara at ualr.edu
Tue Jun 1 15:38:05 EDT 2004
Ok. I see the difference between vtk420.exe and code. So, my installation process is done. Then, How can I use VTk now. I tried an example under "C:\vtk20\Examples\Modelling\Cxx" directory I got below errors: What I have to do now? (I've already included lib and include directory from vtk20 to VC++ 6.0){from project settings and "tools, options, directories, include files or directory files" settings}
++++++++++++++++++++++++
--------------------Configuration: dene - Win32 Debug--------------------
Build : warning : failed to (or don't know how to) build 'E:\vtk42\Examples\Modelling\Cxx\dene\1.cpp'
Linking...
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkRenderer::AddActor(class vtkProp *)" (__imp_?AddActor at vtkRenderer@@QAEXPAVvtkProp@@@Z)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkRenderWindowInteractor::SetRenderWindow(class vtkRenderWindow *)" (__imp_?SetRenderWindow at vtkRenderWindowInteractor@@QAEXPAVvtkRenderWindow@@@Z)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkRenderWindowInteractor * __cdecl vtkRenderWindowInteractor::New(void)" (__imp_?New at vtkRenderWindowInteractor@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkRenderWindow * __cdecl vtkRenderWindow::New(void)" (__imp_?New at vtkRenderWindow@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkRenderer * __cdecl vtkRenderer::New(void)" (__imp_?New at vtkRenderer@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkTubeFilter * __cdecl vtkTubeFilter::New(void)" (__imp_?New at vtkTubeFilter@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: float __thiscall vtkDataSet::GetLength(void)" (__imp_?GetLength at vtkDataSet@@QAEMXZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkAxes * __cdecl vtkAxes::New(void)" (__imp_?New at vtkAxes@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkDataSet::GetBounds(float * const)" (__imp_?GetBounds at vtkDataSet@@QAEXQAM at Z)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkProperty::SetColor(float,float,float)" (__imp_?SetColor at vtkProperty@@QAEXMMM at Z)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class vtkProperty * __thiscall vtkActor::GetProperty(void)" (__imp_?GetProperty at vtkActor@@QAEPAVvtkProperty@@XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkActor * __cdecl vtkActor::New(void)" (__imp_?New at vtkActor@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkPolyDataMapper::SetInput(class vtkPolyData *)" (__imp_?SetInput at vtkPolyDataMapper@@QAEXPAVvtkPolyData@@@Z)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class vtkPolyData * __thiscall vtkPolyDataSource::GetOutput(void)" (__imp_?GetOutput at vtkPolyDataSource@@QAEPAVvtkPolyData@@XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkPolyDataMapper * __cdecl vtkPolyDataMapper::New(void)" (__imp_?New at vtkPolyDataMapper@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkContourFilter::SetValue(int,float)" (__imp_?SetValue at vtkContourFilter@@QAEXHM at Z)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class vtkImageData * __thiscall vtkImageSource::GetOutput(void)" (__imp_?GetOutput at vtkImageSource@@QAEPAVvtkImageData@@XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkContourFilter * __cdecl vtkContourFilter::New(void)" (__imp_?New at vtkContourFilter@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkGaussianSplatter::SetSampleDimensions(int,int,int)" (__imp_?SetSampleDimensions at vtkGaussianSplatter@@QAEXHHH at Z)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkGaussianSplatter * __cdecl vtkGaussianSplatter::New(void)" (__imp_?New at vtkGaussianSplatter@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall vtkDataSetAttributes::SetScalars(class vtkDataArray *)" (__imp_?SetScalars at vtkDataSetAttributes@@QAEHPAVvtkDataArray@@@Z)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class vtkPointData * __thiscall vtkDataSet::GetPointData(void)" (__imp_?GetPointData at vtkDataSet@@QAEPAVvtkPointData@@XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkFloatArray::InsertValue(int,float)" (__imp_?InsertValue at vtkFloatArray@@QAEXHM at Z)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkPoints::InsertPoint(int,float const * const)" (__imp_?InsertPoint at vtkPoints@@QAEXHQBM at Z)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkFloatArray * __cdecl vtkFloatArray::New(void)" (__imp_?New at vtkFloatArray@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkPoints * __cdecl vtkPoints::New(void)" (__imp_?New at vtkPoints@@SAPAV1 at XZ)
1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkUnstructuredGrid * __cdecl vtkUnstructuredGrid::New(void)" (__imp_?New at vtkUnstructuredGrid@@SAPAV1 at XZ)
Debug/dene.exe : fatal error LNK1120: 27 unresolved externals
Error executing link.exe.
dene.exe - 28 error(s), 1 warning(s)
++++++++++++++++++++++++
Thanks...
More information about the vtkusers
mailing list