[vtkusers] Link problem with VTK 3.2 under RH Linux 6.2 and gcc 2.95.3: abstract virtual functions.

Michel Audette m.audette at aist.go.jp
Sun Aug 12 22:02:59 EDT 2001


Hello Everyone, 

I am trying to use VTK 3.2 with Red Hat Linux 6.2 and compiled under gcc 2.95.3, and while it compiles properly, I get the following message when trying to link with the libraries: 

In file included from /home/maudette/vtk3.2/patented/vtkPatented.h:48,
                 from /home/maudette/vtk3.2/common/vtk.h:46,
                 from visualize.c++:4:
/home/maudette/vtk3.2/patented/vtkKitwareObjectFactory.h: In function
`static class vtkKitwareObjectFactory * vtkKitwareObjectFactory::New()':
/home/maudette/vtk3.2/patented/vtkKitwareObjectFactory.h:59: cannot
allocate an object of type `vtkKitwareObjectFactory'
/home/maudette/vtk3.2/patented/vtkKitwareObjectFactory.h:59:   since the
following virtual functions are abstract:
/home/maudette/vtk3.2/common/vtkObjectFactory.h:115: const char *
vtkObjectFactory::GetDescription()
make: *** [visualize] Error 1

Has anyone seen this before, or can anyone suggest a simple fix? 

Thank you for your kind consideration. Best regards, 

Michel Audette
Research Fellow, Surgical Simulation, 
Surgical Assist Group, AIST, 
Namiki 1-2, Tsukuba, 
305-8564, Japan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20010813/fd35d423/attachment.htm>


More information about the vtkusers mailing list