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

Abayiz abayiz at yahoo.com
Wed Jul 4 13:01:26 EDT 2012


Hi Cory,

Thanks for your reply. 


I am currently using VTK 5.2, and my cmakelist has  " include (${VTK_USE_FILE}) " . 

Any suggestion??

Abayiz 



________________________________
 From: Cory Quammen <cquammen at cs.unc.edu>
To: Abayiz <abayiz at yahoo.com> 
Cc: "vtkusers at vtk.org" <vtkusers at vtk.org> 
Sent: Wednesday, July 4, 2012 2:45 PM
Subject: Re: [vtkusers] undefined reference to `vtkImagePlaneWidget::New()'
 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120704/ecb07914/attachment.htm>


More information about the vtkusers mailing list