FW: [vtkusers] how can I start for a example of VTK in Window

Angela126 www hjwang126 at hotmail.com
Tue Sep 27 04:35:57 EDT 2005


hi,
I  porvided  the the path of liberaries (VTK\BIN\DEBUG)  in Project 
Properties dialog open Linker-general tab " Additional Liberary Directories" 
and also in Linker-Input tab -"additional dependencies" -I added i.e. 
vtkRendering.lib, but it still does not work, why?

angela
>From: "Angela126 www" <hjwang126 at hotmail.com>
>To: vtkusers at vtk.org
>Subject: FW: [vtkusers] how can I start for a example of VTK in Window
>Date: Tue, 27 Sep 2005 07:22:54 +0000
>
>
>I think I linked the correct VTK liberaries, I built up the liberaries of 
>VTK  by CMAKE, after that,  the liberaries were created in VTK\bin\debug 
>automatically, I just provided this path to the  visual studio net 2003 of  
>c++ platform, is it right?
>
>angela
>
>>From: "Angela126 www" <hjwang126 at hotmail.com>
>>To: vtkusers at vtk.org
>>Subject: [vtkusers] how can I start for a example of VTK in Window
>>Date: Mon, 26 Sep 2005 09:15:46 +0000
>>
>>Hello,
>>
>>I am  a beginner for VTK, now I want to learn VTK for my work, I 
>>downloaded a version of VTK in window platform( visual studio net 2003 for 
>>c++ ), also I used CMake to build all liberaries, and look at "How do I 
>>build the examples on the PC running Windows?" in VTK FAQ, but now I want 
>>to load a example of VTK, i.e 
>>C:\VTK-4.2-LatestRelease\VTK\Examples\Tutorial\Step1\Cxx\cone.cxx,  I can 
>>complie it but can not link it, the error messages are
>>
>>
>>Cone error LNK2019: unresolved external symbol "__declspec(dllimport) 
>>public: class vtkCamera * __thiscall vtkRenderer::GetActiveCamera(void)" 
>>(__imp_?GetActiveCamera at vtkRenderer@@QAEPAVvtkCamera@@XZ) referenced in 
>>function _main
>>Cone error LNK2019: unresolved external symbol "__declspec(dllimport) 
>>public: static class vtkActor * __cdecl vtkActor::New(void)" 
>>(__imp_?New at vtkActor@@SAPAV1 at XZ) referenced in function _main
>>Cone error LNK2019: unresolved external symbol "__declspec(dllimport) 
>>public: static class vtkPolyDataMapper * __cdecl 
>>vtkPolyDataMapper::New(void)" (__imp_?New at vtkPolyDataMapper@@SAPAV1 at XZ) 
>>referenced in function _main
>>Cone error LNK2019: unresolved external symbol "__declspec(dllimport) 
>>public: static class vtkRenderer * __cdecl vtkRenderer::New(void)" 
>>(__imp_?New at vtkRenderer@@SAPAV1 at XZ) referenced in function _main
>>Cone error LNK2019: unresolved external symbol "__declspec(dllimport) 
>>public: static class vtkRenderWindow * __cdecl vtkRenderWindow::New(void)" 
>>(__imp_?New at vtkRenderWindow@@SAPAV1 at XZ) referenced in function _main
>>Cone error LNK2019: unresolved external symbol "__declspec(dllimport) 
>>public: void __thiscall vtkCamera::Azimuth(double)" 
>>(__imp_?Azimuth at vtkCamera@@QAEXN at Z) referenced in function _main
>>Cone error LNK2019: unresolved external symbol "__declspec(dllimport) 
>>public: void __thiscall vtkPolyDataMapper::SetInput(class vtkPolyData *)" 
>>(__imp_?SetInput at vtkPolyDataMapper@@QAEXPAVvtkPolyData@@@Z) referenced in 
>>function _main
>>Cone error LNK2019: unresolved external symbol "__declspec(dllimport) 
>>public: void __thiscall vtkRenderer::AddActor(class vtkProp *)" 
>>(__imp_?AddActor at vtkRenderer@@QAEXPAVvtkProp@@@Z) referenced in function 
>>_main
>>Cone fatal error LNK1120: 8 unresolved externals
>>
>>Thank you very much
>>
>>angela
>>
>>
>>_______________________________________________
>>This is the private VTK discussion list. Please keep messages on-topic. 
>>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic. 
>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list