[vtkusers] vtkimageplanewidget link error (updated)
Patrick Cheng
cheng at isis.georgetown.edu
Tue Jan 31 15:35:48 EST 2006
Hi Mahmoud,
Did you link the vtkWidgets library into your project?
LINK_LIBRARIES( vtkWidgets ... vtkCommon )
In older version of VTK, the vtkImagePlaneWidget is in the vtkHybrid
library and you have to turn on the VTK_USE_HYBRID in the advanced cmake
options before build the vtk library.
Patrick
mahmoud ismail wrote:
>
> can any one help me with this link error
> in vs.net
>
> ff_modifications error LNK2019: unresolved external symbol "public:
> static class vtkImagePlaneWidget * __cdecl
> vtkImagePlaneWidget::New(void)" (?New at vtkImagePlaneWidget@@SAPAV1 at XZ)
> referenced in function "private: void __thiscall
> ff_modifications::on_planeWidget_clicked(void)"
> (?on_planeWidget_clicked at ff_modifications@@AAEXXZ
> <mailto:?on_planeWidget_clicked at ff_modifications@@AAEXXZ>)
>
> this error appears with every function called from vtkimagePlaneWidget Class
> I.e if I called two function i will have two link errors
>
> ------------------------------------------------------------------------
>
> What are the most popular cars? Find out at Yahoo! Autos
> <http://us.rd.yahoo.com/evt=38382/_ylc=X3oDMTEzNWFva2Y2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMmF1dG9z/*http://autos.yahoo.com/newcars/popular/thisweek.html
> >
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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