[vtkusers] Fail to execute DisplayCoordinateAxes example

Julien Jomier julien.jomier at kitware.com
Fri Jul 18 08:22:45 EDT 2014


Are you compiling VTK with the Module_vtkRenderingFreeTypeFontConfig 
turned ON?

This thread might help as well:

   http://www.vtk.org/pipermail/vtkusers/2013-June/080176.html

Also can you make sure that you link with all the available libraries:

    target_link_libraries(DisplayCoordinateAxes ${VTK_LIBRARIES})

Julien
--
Kitware SAS
26 rue Louis Guérin
69100 Villeurbanne, France
F: +33 (0)4.37.45.04.15
http://www.kitware.eu

On 18/07/2014 10:19, Jonathan Lafite wrote:
> Hello,
>
> I’ve got some trouble with this example :
> http://www.cmake.org/Wiki/VTK/Examples/Cxx/Visualization/DisplayCoordinateAxes
>
> All compile fine but when executing one the line :
>
> vtkSmartPointer<vtkAxesActor>axes=
>
> vtkSmartPointer<vtkAxesActor>::New();
>
> I get a vtk messagebox that display :
>
> ERROR: In vtkTextActor.cxx, line 112
>
> vtkTextActor (000000000045A570): Failed getting the TextRenderer instance!
>
> ERROR: In vtkTextActor.cxx, line 112
>
> vtkTextActor (0000000002429040): Failed getting the TextRenderer instance!
>
> ERROR: In vtkTextActor.cxx, line 112
>
> vtkTextActor (00000000024636B0): Failed getting the TextRenderer instance!
>
> My configuration is :
>
> -Window 7 x64
>
> -QtCreator 3.2.1 based on Qt 5.3.1 (MSVC 2013 64bit)
>
> -Vtk 6.1.0 (compiled with MSVC 2012 (CMAKE 2.8.12.2))
>
> Thanks by advance.
>
>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>


More information about the vtkusers mailing list