<div dir="ltr"><div>Sorry, should have posted this solution that Marcus pointed me to on a different email thread.<br><br></div>I had linked my executable target against vtkRenderingFreeType, but had failed to include vtkRenderingFreeType in the list of modules in the find_package(VTK) MODULES list. Adding it there fixed the problem.<br>
<br>Thanks,<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 19, 2013 at 1:40 PM, David Lonie <span dir="ltr"><<a href="mailto:david.lonie@kitware.com" target="_blank">david.lonie@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Jun 18, 2013 at 3:08 PM, Zach Mullen <<a href="mailto:zach.mullen@kitware.com">zach.mullen@kitware.com</a>> wrote:<br>
> In my application, I construct a vtkTextActor, which in turn calls<br>
> vtkTextRenderer::GetInstance(), which calls<br>
> vtkObjectFactory::CreateInstance("vtkTextRenderer") to create a singleton.<br>
> However, the vtkObjectFactory fails to create the instance and I see the<br>
> "Failed getting the TextRenderer instance!" error message. My application<br>
> links against the vtkRenderingFreeType library. What else do I have to do<br>
> to make the vtkObjectFactory able to construct a vtkTextRenderer?<br>
<br>
</div>Odd -- linking against vtkRenderingFreeType should bring in the<br>
vtkTextRenderer implementation.<br>
<br>
Do any vtkObjectFactory gurus out there have any ideas what could be happening?<br>
<br>
Dave<br>
</blockquote></div><br><br clear="all"><br>-- <br>Zach Mullen<br>R & D Engineer<br>Kitware Inc.<br>919-869-8858
</div>