[vtkusers] Problems with latest CVS Version

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Apr 13 17:14:12 EDT 2005


Juan,

	Did you turn the VOLUME_RENDERING option to on in VTK ? If yes make 
sure you have the lib in vtk_bin/bin directory. Also when building you 
executable do not forget to link the library properly:

  ADD_EXECUTABLE(foo foo.cxx)
  TARGET_LINK_LIBRARIES(foo vtkVolumeRendering)

HTH
Mathieu

Juan José Aja Fernández wrote:
> Hi everyone
> 
> I've been using the cvs version of vtk from about 3 months ago, so I
> recently decided to update to the newest version.
> After compilation and install I noticed that a new folder was created:
> VolumeRendering, so I updated my CMakeLists in my programs
> accordingly.
> 
> Even so I get new errors I didn't get before, in the following snippet
> of code of my thesis:
> 
> vtkUnstructuredGrid *grid ......
> ..
> ..
> vtkDataSetTriangleFilter *filter ........
> filter->SetInput(grid);
> 
> vtkUnstructuredGridVolumeRayCastMapper *vrcm =
> vtkUnstructuredGridVolumeRayCastMapper::New();
> ..
> ..
> vrcm->SetInput(filter->GetOutput()); 
> vrcm->SetInput(grid);
> ..
> ..
> 
> The errors are:
> 
> undefined reference to `vtkUnstructuredGridAlgorithm::SetInput(vtkDataObject*)'
> undefined reference to `vtkUnstructuredGridAlgorithm::GetOutput()'
> 
> So I decided to include vtkUnstructuredGridAlgorithm.h, but with no results.
> 
> The code worked perfectly before the update so I guess that something
> was changed in the CVS version of
> vtkUnstructuredGridVolumeRayCastMapper and others in the same branch.
> 
> Any Ideas?
> 
> Thanks in advance
> 
> Juan.
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 




More information about the vtkusers mailing list