<div class="gmail_quote">On Thu, Feb 21, 2013 at 2:38 PM, Marthed <span dir="ltr"><<a href="mailto:mar4computer@yahoo.com" target="_blank">mar4computer@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
I have problem in VTK library when I trying to execute Sphere example ,<br>
there was error in my program,<br>
<br>
please, can anybody help me ?<br>
<br>
I use ( Cmake 2.8 )<br>
( VTK 5.10.1 )<br>
(Visual studio C++ 2010 Express )<br>
<br>
the error is :<br>
<br>
1>main.obj : error LNK2019: unresolved external symbol "public: class<br>
vtkPolyData * __thiscall vtkPolyDataAlgorithm::GetOutput(void)"<br>
(?GetOutput@vtkPolyDataAlgorithm@@QAEPAVvtkPolyData@@XZ) referenced in<br>
function _main<br>
1>main.obj : error LNK2019: unresolved external symbol "public: static class<br>
vtkPolyDataMapper * __cdecl vtkPolyDataMapper::New(void)"<br>
(?New@vtkPolyDataMapper@@SAPAV1@XZ) referenced in function _main<br>
1>main.obj : error LNK2019: unresolved external symbol "public: static class<br>
vtkSphereSource * __cdecl vtkSphereSource::New(void)"<br>
(?New@vtkSphereSource@@SAPAV1@XZ) referenced in function _main<br>
1>C:\VTK\VTK_BIN\VTK-APP2\Debug\VTK-APP2.exe : fatal error LNK1120: 10<br>
unresolved externals<br>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br>
<br>
---------------<br>
<br>
Thank you so much , if you read the message<br></blockquote><div><br>This is happening at build time (a linker error), not at run time right?
I.e. you said you are trying to "execute" it, but did you mean you are
trying to build it?<br clear="all"><div><br>David</div> </div></div>