[vtkusers] Rendering Text - vtkTextActor and AddActor2D - Crash

David Lonie david.lonie at kitware.com
Tue Jun 30 09:39:43 EDT 2015

It works for me here. That message means that the vtkRenderingFreeType
library isn't being linked to the application. That library provides the
default implementation of the vtkTextRenderer interface.

Can you add the line:


to your CMakeLists.txt, rerun cmake, and send us the output? Also, what
version of VTK is being used?

On Mon, Jun 29, 2015 at 9:47 PM, Ram Sampath <ram at centroidpic.com> wrote:

> Hello :
>  I am trying to compile and run the vtk hello world with text example
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/DrawText
>  and when I run it I get the following error with a crash.
> Rendering\Core\vtkTextActor.cxx, line 110
> vtkTextActor (0000000003B31F10): Failed getting the TextRenderer instance!
>  Has anyone had the same problem before and has a fix ?  It seems like the
> text renderer is failing on initialize .
> Thank you in advance
> Ram.
> _______________________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150630/c78ed82b/attachment.html>

More information about the vtkusers mailing list