[vtkusers] vtkVolumeRayCast linker

Radu Ilinca radu_away_hu at yahoo.com
Fri Nov 27 05:04:47 EST 2009


 
 
Hi all ! 
 
 I am trying to run the demo of a basic reycasting algorithm (apparently the vtkrendering.lib is not enough).  However, I have the following errors. I guess I am not liking enough libs. So, which one should be included in the linker  for the 1 classes ?  So far , I have the following included and the errors are below:
 
$(NOINHERIT) kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  vtkRendering.lib vtkGraphics.lib vtkverdict.lib vtkImaging.lib vtkIO.lib vtkFiltering.lib vtkCommon.lib vtkDICOMParser.lib vtkNetCDF.lib vtkmetaio.lib comctl32.lib wsock32.lib vtksqlite.lib vtkpng.lib vtktiff.lib vtkzlib.lib vtkjpeg.lib vtkexpat.lib vtksys.lib ws2_32.lib vfw32.lib vtkftgl.lib vtkfreetype.lib opengl32.lib 
 
 
 error LNK2001: unresolved external symbol "protected: virtual void __thiscall vtkExampleDataSource::CollectRevisions(class std::basic_ostream<char,struct std::char_traits<char> > &)" (?CollectRevisions at vtkExampleDataSource@@MAEXAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@@Z)
 
 error LNK2019: unresolved external symbol "public: static class vtkVolumeRayCastMapper * __cdecl vtkVolumeRayCastMapper::New(void)" (?New at vtkVolumeRayCastMapper@@SAPAV1 at XZ) referenced in function _main
: error LNK2019: unresolved external symbol "public: static class vtkVolumeRayCastCompositeFunction * __cdecl vtkVolumeRayCastCompositeFunction::New(void)" (?New at vtkVolumeRayCastCompositeFunction@@SAPAV1 at XZ) referenced in function _main
1>D:\ETH - Z\vtk\conu\Debug\Leeds.exe : fatal error LNK1120: 3 unresolved externals
 
Thanks,
Radu.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091127/f0077935/attachment.htm>


More information about the vtkusers mailing list