[vtkusers] linking problem with inheritance [urgent]

imho imho at skynet.be
Wed Nov 20 16:17:16 EST 2002


Hi,
I've try this, but I keep have the same linking error :/


David Thompson wrote:

 > On Wed, 2002-11-20 at 10:14, imho wrote:
 >
 > >Hi,
 > >I try to make a custom interactor, so
 > >
 > >class vtkInteractorStyleCustom : public vtkInteractorStyle
 > >{
 > >...
 > >}
 > >
 > >but I have a linking problem :/
 > >vtkInteractorStyleCustom.obj : error LNK2001: unresolved external symbol
 > >"public: virtual char const * __thiscall
 > >vtkInteractorStyle::GetClassNameW(void)"
 > >(?GetClassNameW at vtkInteractorStyle@@UAEPBDXZ)
 > >
 > >What do I have to do?
 >
 > #include
 > and then call
 > vtkTypeRevisionMacro(vtkInteractorStyleCustom,vtkInteractorStyle)
 > inside a public section of your class declaration.
 >
 >
 >
 >
 > _______________________________________________
 > This is the private VTK discussion list.
 > Please keep messages on-topic. Check the FAQ at:
 > Follow this link to subscribe/unsubscribe:
 > http://public.kitware.com/mailman/listinfo/vtkusers
 >
 >





More information about the vtkusers mailing list