<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Cory,</span></div><div><br><span></span></div><div><span>Thanks for your reply. <br></span></div><div><br><span></span></div><div><span>I am currently using VTK 5.2, and my cmakelist has " include (</span>${VTK_USE_FILE}) " . <br></div><div>Any suggestion??</div><div><br></div><div>Abayiz <br></div><div><br></div> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight: bold;">From:</span></b> Cory Quammen <cquammen@cs.unc.edu><br> <b><span style="font-weight: bold;">To:</span></b> Abayiz <abayiz@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "vtkusers@vtk.org" <vtkusers@vtk.org>
<br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, July 4, 2012 2:45 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [vtkusers] undefined reference to `vtkImagePlaneWidget::New()'<br> </font> </div> <br>
Which version of VTK are you compiling against? If it is from git, it<br>sounds like the CMakeLists.txt file might be missing the line<br><br>include(${VTK_USE_FILE})<br><br>Try adding that if it is missing and let us know if it works.<br><br>Thanks,<br>Cory<br><br>On Wed, Jul 4, 2012 at 5:10 AM, Abayiz <<a ymailto="mailto:abayiz@yahoo.com" href="mailto:abayiz@yahoo.com">abayiz@yahoo.com</a>> wrote:<br>> Hello all,<br>><br>> I am using "itkReadITKImage3DSegmentShowVTK.cxx" in the InsightApplications<br>> to perform a transformation and rendering of ITK data to VTK. I just<br>> directly compiled the example code, but encountered the following error:<br>><br>> undefined reference to `vtkImagePlaneWidget::New()'<br>><br>> Is there someone can help me about this??<br>><br>> Many thanks in advance.<br>> Regards,<br>> Abayiz<br>><br>> _______________________________________________<br>> Powered by <a
target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br>><br>> Visit other Kitware open-source projects at<br>> http://www.kitware.com/opensource/opensource.html<br>><br>> Please keep messages on-topic and check the VTK FAQ at:<br>> http://www.vtk.org/Wiki/VTK_FAQ<br>><br>> Follow this link to subscribe/unsubscribe:<br>> http://www.vtk.org/mailman/listinfo/vtkusers<br>><br><br><br><br>-- <br>Cory Quammen<br>Research Associate<br>Department of Computer Science<br>The University of North Carolina at Chapel Hill<br><br><br> </div> </div> </div></body></html>