[vtkusers] Possible missing .lib ?
    Bob Palank 
    bob at stlcc.org
       
    Wed May 11 21:01:52 EDT 2011
    
    
  
I am learning and  building incrementally using the Cone example  -
statement by statement
  and adding .libs as required.
 
I see :
----------------------------------------------------------------------------
---------
vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();      // Needs no
additional libs 
 //   coneMapper->SetInputConnection( cone->GetOutputPort() ); // when added
it probably needs another lib ?
 
with the above, I get 
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
----------------------------------------------------------------------------
-----------
when I uncomment  the coneMapper->SetInputConnection( cone->GetOutputPort()
);  statement
I get 
Cone01.obj : warning LNK4248: unresolved typeref token (01000016) for
'vtkAlgorithmOutput'; image may not run
Cone01.obj : error LNK2028: unresolved token (0A00018A) "public: class
vtkAlgorithmOutput * __thiscall vtkAlgorithm::GetOutputPort(void)"
(?GetOutputPort at vtkAlgorithm@@$$FQAEPAVvtkAlgorithmOutput@@XZ) referenced in
function "int __cdecl main(void)" (?main@@$$HYAHXZ)
Cone01.obj : error LNK2019: unresolved external symbol "public: class
vtkAlgorithmOutput * __thiscall vtkAlgorithm::GetOutputPort(void)"
(?GetOutputPort at vtkAlgorithm@@$$FQAEPAVvtkAlgorithmOutput@@XZ) referenced in
function "int __cdecl main(void)" (?main@@$$HYAHXZ)
D:\Vtk561-bin\Examples\BobsExamples\Cone01\Debug\Cone01.exe : fatal error
LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========
 
I suspect the libs I have lack required code and I need to include an
additional dependency (library file).
What documentation shows which .lib I need to support the
coneMapper->SetInputConnection() statement ?
 
As always, TIA.
  Bob 
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110511/c67ca2ac/attachment.htm>
    
    
More information about the vtkusers
mailing list