[vtkusers] undefined reference to `vtkImagePlaneWidget::New()'

Cory Quammen cquammen at cs.unc.edu
Wed Jul 4 07:45:02 EDT 2012


Which version of VTK are you compiling against? If it is from git, it
sounds like the CMakeLists.txt file might be missing the line

include(${VTK_USE_FILE})

Try adding that if it is missing and let us know if it works.

Thanks,
Cory

On Wed, Jul 4, 2012 at 5:10 AM, Abayiz <abayiz at yahoo.com> wrote:
> Hello all,
>
> I am using "itkReadITKImage3DSegmentShowVTK.cxx" in the InsightApplications
> to perform a transformation and rendering of ITK data to VTK. I just
> directly compiled the example code, but encountered the following error:
>
> undefined reference to `vtkImagePlaneWidget::New()'
>
> Is there someone can help me about this??
>
> Many thanks in advance.
> Regards,
> Abayiz
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill



More information about the vtkusers mailing list