[vtkusers] Compiling Error
David Gobbi
dgobbi at irus.rri.ca
Mon Apr 29 12:04:03 EDT 2002
Hi Mike,
This error means that your are not linking to the library that
contains vtkPolyDataToImageStencil. It is in Hybrid, so make
sure that 'hybrid' is turned on in CMake and also make sure that
your executable is linking to the vtkHybrid library.
- David
On Mon, 29 Apr 2002, Michael Györffy wrote:
> Hello:
> I'm new to vtk and programming. I'm using the following script:
>
> vtkPolyDataToImageStencil *dataToStencil=vtkPolyDataToImageStencil::New();
> dataToStencil->SetInput(pdata->GetOutput());
>
> Where pdata is Polydata.
> I'm getting the following error to these two lines: "undefined
> reference to `vtkPolyDataToImageStencil::New(void)'"
> and
> "undefined reference to `vtkPolyDataToImageStencil::SetInput(vtkPolyData *)'"
>
> What does this "undefined reference to" error mean and how can I
> fix this problem?
>
> A google of thanks,
>
> Mike
More information about the vtkusers
mailing list