[vtkusers] undefined reference to `vtkSmartVolumeMapper::New()

ratnesh kumar ratneshkumar21 at gmail.com
Wed Jun 27 09:26:07 EDT 2012


Hi All,

I am trying to use the 3d visualisation. I am using a QT .pro file for
building makefiles. My library inclusion lines are -
 "   -L/usr/local/lib/vtk-5.10 -lQVTK -lvtkIO -lvtkCommon -lvtkViews
-lvtkWidgets -lvtksys \
     -ldl -lGL -Wl -lvtkRendering -lvtkFiltering -lvtkVolumeRendering
-lvtkGraphics -lvtkftgl -lvtkalglib -lvtkzlib "

Header file inclusion lines are -
INCLUDEPATH += -I/usr/local/include/vtk-5.10

-- I get the following errors while compilation

/usr/local/include/vtk-5.10/vtkSmartPointer.h:113: undefined reference to
`vtkSmartVolumeMapper::New()'

 undefined reference to
`vtkSmartVolumeMapper::SetRequestedRenderModeToRayCastAndTexture()'

 undefined reference to
`vtkSmartVolumeMapper::SetRequestedRenderModeToRayCast()'

collect2: ld returned 1 exit status

Any suggestions on this ?

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


More information about the vtkusers mailing list