[vtkusers] Beginner building an example

Ipaq hp ipaqdebolsillo at hotmail.com
Tue Mar 23 17:44:38 EST 2004


Im new to Vtk, i have instaled vtk with the precompiled files that i found 
on www.vtk.org, im using VisualStudio C++, i am trying to execute an 
example, one that creates a cone, when i try to build the example it gives 
me this errors:

--------------------Configuration: VTKprojects - 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)
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol 
_WinMain at 16
Debug/VTKprojects.exe : fatal error LNK1120: 11 unresolved externals
Error executing link.exe.

VTKprojects.exe - 12 error(s), 0 warning(s)


have i miss something in the installation?

Thanks.

_________________________________________________________________
Correos más divertidos con fotos y textos increíbles en MSN 8. Pruébalo 
gratis dos meses. http://join.msn.com/?pgmarket=es-es&XAPID=45&DI=1055




More information about the vtkusers mailing list