[vtkusers] Build failed

Marthed mar4computer at yahoo.com
Thu Feb 21 14:38:17 EST 2013



I have problem in VTK library when I trying to execute Sphere example ,
there was error in my program,

please, can anybody help me ?

I use ( Cmake 2.8 )
         ( VTK 5.10.1 )
         (Visual studio C++ 2010 Express )

the error is :

1>main.obj : error LNK2019: unresolved external symbol "public: class
vtkPolyData * __thiscall vtkPolyDataAlgorithm::GetOutput(void)"
(?GetOutput at vtkPolyDataAlgorithm@@QAEPAVvtkPolyData@@XZ) referenced in
function _main
1>main.obj : error LNK2019: unresolved external symbol "public: static class
vtkPolyDataMapper * __cdecl vtkPolyDataMapper::New(void)"
(?New at vtkPolyDataMapper@@SAPAV1 at XZ) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "public: static class
vtkSphereSource * __cdecl vtkSphereSource::New(void)"
(?New at vtkSphereSource@@SAPAV1 at XZ) referenced in function _main
1>C:\VTK\VTK_BIN\VTK-APP2\Debug\VTK-APP2.exe : fatal error LNK1120: 10
unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

---------------

Thank you so much , if you read the message 




--
View this message in context: http://vtk.1045678.n5.nabble.com/Build-failed-tp5718735.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list