[vtkusers] Include library

Modelado Estructural proyestru at yahoo.com
Sat May 29 12:03:15 EDT 2004


Hi, I had installed vtk42-LatestRelease, in Windows 98, and I am using visual Studio 6.2, but when I ll try to build the .cpp demo I get this error message:
 
--------------------Configuration: Cpp11 - Win32 Debug--------------------
Linking...
Cpp11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkRenderer::AddActor(class vtkProp *)" (__imp_?AddActor at vtkRenderer@@QAEXPAVvtkProp@@@Z)
Cpp11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkRenderWindowInteractor::SetRenderWindow(class vtkRenderWindow *)" (__imp_?SetRenderWindow at vtkRenderWindowInteractor@@QAEXPAVvtkRenderWindow@@@Z)
Cpp11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkRenderWindowInteractor * __cdecl vtkRenderWindowInteractor::New(void)" (__imp_?New at vtkRenderWindowInteractor@@SAPAV1 at XZ)
Cpp11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkRenderWindow * __cdecl vtkRenderWindow::New(void)" (__imp_?New at vtkRenderWindow@@SAPAV1 at XZ)
Cpp11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkRenderer * __cdecl vtkRenderer::New(void)" (__imp_?New at vtkRenderer@@SAPAV1 at XZ)
Cpp11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkActor * __cdecl vtkActor::New(void)" (__imp_?New at vtkActor@@SAPAV1 at XZ)
Cpp11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall vtkPolyDataMapper::SetInput(class vtkPolyData *)" (__imp_?SetInput at vtkPolyDataMapper@@QAEXPAVvtkPolyData@@@Z)
Cpp11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class vtkPolyData * __thiscall vtkPolyDataSource::GetOutput(void)" (__imp_?GetOutput at vtkPolyDataSource@@QAEPAVvtkPolyData@@XZ)
Cpp11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkPolyDataMapper * __cdecl vtkPolyDataMapper::New(void)" (__imp_?New at vtkPolyDataMapper@@SAPAV1 at XZ)
Cpp11.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class vtkSphereSource * __cdecl vtkSphereSource::New(void)" (__imp_?New at vtkSphereSource@@SAPAV1 at XZ)
Debug/Cpp11.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.
 
Cpp11.exe - 11 error(s), 0 warning(s)
 
I think that is a path library error, but I dont know how specify this path.
 
Any idea ?
 
Thank in advance.


		
---------------------------------
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040529/501fd70d/attachment.htm>


More information about the vtkusers mailing list