[vtkusers] problems with vtkImagePlaneWidget

Charl P. Botha c.p.botha at ewi.tudelft.nl
Sat Mar 20 15:52:57 EST 2004


N.E Mackenzie-Mackay wrote:
>     I am having a problem with the vtkImagePlaneWidget.  When I include  
> vtkImagePlaneWidget.h I get a bunch of linking errors.  Even when I  
> haven't written anything in my code that references the widget.
> 
> If anyone could please help that you be great,
> Neilson
> 
> Medical1.obj : error LNK2001: unresolved external symbol  
> "__declspec(dllimport) public: static int __cdecl  
> vtkPolyDataSourceWidget::IsTypeOf(char const *)"  
> (__imp_?IsTypeOf at vtkPolyDataSourceWidget@@SAHPBD at Z)
> Medical1.obj : error LNK2001: unresolved external symbol "public:  
> static class vtkImagePlaneWidget * __cdecl  
> vtkImagePlaneWidget::New(void)" (?New at vtkImagePlaneWidget@@SAPAV1 at XZ)

My crystal ball says (and it's guessing here) that you're not linking 
with the vtkHybrid library.  This could be due to several reasons: your 
build of VTK doesn't have HYBRID enabled or your build configuration 
(for your own project) just doesn't include it.

Good luck,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/




More information about the vtkusers mailing list