vtkAlgorithm is in vtkFiltering.<br><br>I just searched the source tree.<br><br><br><div class="gmail_quote">On Wed, May 11, 2011 at 9:01 PM, Bob Palank <span dir="ltr"><<a href="mailto:bob@stlcc.org">bob@stlcc.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal" style=""><span style="font-size: 9.5pt; font-family: Consolas;">I am learning and building incrementally using the Cone example - statement by statement</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9.5pt; font-family: Consolas;"> and adding .libs as required.</span></p><p class="MsoNormal" style=""><span style="font-size: 9.5pt; font-family: Consolas;"> </span></p>
<p class="MsoNormal" style=""><span style="font-size: 9.5pt; font-family: Consolas;"> </span></p><p class="MsoNormal" style=""><span style="font-size: 9.5pt; font-family: Consolas;">I see :</span><span style="font-size: 9.5pt;"></span></p>
<p class="MsoNormal" style=""><span style="font-size: 9.5pt; font-family: Consolas;">-------------------------------------------------------------------------------------</span></p><p class="MsoNormal" style=""><span style="font-size: 9.5pt; font-family: Consolas;">vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New(); <span style="color: green;">// Needs no additional libs </span></span></p>
<p class="MsoNormal" style=""><span style="font-size: 9.5pt; font-family: Consolas;"> <span style="color: green;">// coneMapper->SetInputConnection( cone->GetOutputPort() ); // when added it probably needs another lib ?</span></span></p>
<p class="MsoNormal" style=""><span style="font-size: 9.5pt; font-family: Consolas; color: green;"> </span></p><p class="MsoNormal" style=""><span style="font-size: 9.5pt; font-family: Consolas; color: green;">with the above, I get </span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: Consolas;">========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========<br>---------------------------------------------------------------------------------------<br>
when I uncomment the </span><span style="font-size: 9.5pt; font-family: Consolas; color: green;">coneMapper->SetInputConnection( cone->GetOutputPort() ); statement<br>I get </span></p><p class="MsoNormal" style="">
<span style="font-size: 9pt; font-family: Consolas;">Cone01.obj : warning LNK4248: unresolved typeref token (01000016) for 'vtkAlgorithmOutput'; image may not run</span></p><p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: Consolas;">Cone01.obj : error LNK2028: unresolved token (0A00018A) "public: class vtkAlgorithmOutput * __thiscall vtkAlgorithm::GetOutputPort(void)" (?GetOutputPort@vtkAlgorithm@@$$FQAEPAVvtkAlgorithmOutput@@XZ) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ)</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: Consolas;">Cone01.obj : error LNK2019: unresolved external symbol "public: class vtkAlgorithmOutput * __thiscall vtkAlgorithm::GetOutputPort(void)" (?GetOutputPort@vtkAlgorithm@@$$FQAEPAVvtkAlgorithmOutput@@XZ) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ)</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: Consolas;">D:\Vtk561-bin\Examples\BobsExamples\Cone01\Debug\Cone01.exe : fatal error LNK1120: 2 unresolved externals</span></p><p class="MsoNormal" style="">
<span style="font-size: 9pt; font-family: Consolas;">========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========</span></p><p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: Consolas;"> </span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: Consolas;">I suspect the libs I have lack required code and I need to include an additional dependency (library file).<br><br>What documentation shows which .lib I need to support the </span><span style="font-size: 9.5pt; font-family: Consolas; color: green;">coneMapper->SetInputConnection() statement</span><span style="font-size: 9pt; font-family: Consolas;"> ?</span></p>
<p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: Consolas;"> </span></p><p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: Consolas;">As always, TIA.</span></p><p class="MsoNormal" style="">
<span style="font-size: 9pt; font-family: Consolas;"> Bob </span></p><font color="#888888"><p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: Consolas;"> </span></p><p class="MsoNormal" style=""><span style="font-size: 9pt; font-family: Consolas;"> </span></p>
<p class="MsoNormal" style=""><span style="font-size: 10pt;"> </span></p><p class="MsoNormal"> </p></font></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>