[vtkusers] vtkTextRenderer can't be instantiated by vtkObjectFactory
David Lonie
david.lonie at kitware.com
Wed Jun 19 13:40:08 EDT 2013
On Tue, Jun 18, 2013 at 3:08 PM, Zach Mullen <zach.mullen at kitware.com> wrote:
> In my application, I construct a vtkTextActor, which in turn calls
> vtkTextRenderer::GetInstance(), which calls
> vtkObjectFactory::CreateInstance("vtkTextRenderer") to create a singleton.
> However, the vtkObjectFactory fails to create the instance and I see the
> "Failed getting the TextRenderer instance!" error message. My application
> links against the vtkRenderingFreeType library. What else do I have to do
> to make the vtkObjectFactory able to construct a vtkTextRenderer?
Odd -- linking against vtkRenderingFreeType should bring in the
vtkTextRenderer implementation.
Do any vtkObjectFactory gurus out there have any ideas what could be happening?
Dave
More information about the vtkusers
mailing list