[vtkusers] problems with VTK on linux

Evan Stitt evangstitt at gmail.com
Sat Feb 3 19:16:28 EST 2007


Hello,

I installed VTK on my linux machine (Mandriva 2007).  All went well, 
except I'm getting strange results when I try to compile a program.  
When I try to create a new  vtkVolumeRayCastCompositeFunction object 
with the following line:
vtkVolumeRayCastCompositeFunction *compositeFunction = 
vtkVolumeRayCastCompositeFunction::New();

I get the following error at compile time:
undefined reference to `vtkVolumeRayCastCompositeFunction::New()'

The same thing happens with vtkVolumeRayCastMapper.  I have included 
header files for both of them.  The strange thing is, the exact same 
syntax works fine for other objects, such as the renderer, the render 
window and the interactor.  Any help would be greatly appreciated.

thanks in advance.



More information about the vtkusers mailing list