[vtkusers] Help!
Shuying Liang
shuying.liang at gmail.com
Wed Oct 11 09:20:02 EDT 2006
hi:
I am Tina,a postgraduate student from Shanghai Jiaotong University In
China.I am just beginning to learn VTK ,I encountered a problem:
when I am trying to compile the Example/Tutorial/Step1/Cxx/Cone.cxx in the
VTK with VC++ 6.0,i can not get through it!the error says below:
Configuration: Cone - Win32 Debug--------------------
Linking...
Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: void __thiscall vtkCamera::Azimuth(double)" (
__imp_?Azimuth at vtkCamera@@QAEXN at Z)
Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: class vtkCamera * __thiscall vtkRenderer::GetActiveCamera(void)" (
__imp_?GetActiveCamera at vtkRenderer@@QAEPAVvtkCamera@@XZ)
Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: static class vtkRenderWindow * __cdecl vtkRenderWindow::New(void)" (
__imp_?New at vtkRenderWindow@@SAPAV1 at XZ)
Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: void __thiscall vtkRenderer::AddActor(class vtkProp *)" (
__imp_?AddActor at vtkRenderer@@QAEXPAVvtkProp@@@Z)
Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: static class vtkRenderer * __cdecl vtkRenderer::New(void)" (
__imp_?New at vtkRenderer@@SAPAV1 at XZ)
Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: static class vtkActor * __cdecl vtkActor::New(void)" (
__imp_?New at vtkActor@@SAPAV1 at XZ)
Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: void __thiscall vtkPolyDataMapper::SetInput(class vtkPolyData *)" (
__imp_?SetInput at vtkPolyDataMapper@@QAEXPAVvtkPolyData@@@Z)
Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: class vtkPolyData * __thiscall vtkPolyDataSource::GetOutput(void)" (
__imp_?GetOutput at vtkPolyDataSource@@QAEPAVvtkPolyData@@XZ)
Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: static class vtkPolyDataMapper * __cdecl
vtkPolyDataMapper::New(void)" (__imp_?New at vtkPolyDataMapper@@SAPAV1 at XZ)
Cone.obj : error LNK2001: unresolved external symbol "__declspec(dllimport)
public: static class vtkConeSource * __cdecl vtkConeSource::New(void)" (
__imp_?New at vtkConeSource@@SAPAV1 at XZ)
Debug/Cone.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.
Cone.exe - 11 error(s), 0 warning(s)
I know there is soemthing wrong with my link problem,but How should i do?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061011/44ccf2d4/attachment.htm>
More information about the vtkusers
mailing list