[vtkusers] Failure of vtkRenderingFreetypeModule

Yan liuyanbc157 at gmail.com
Tue Feb 2 06:10:18 EST 2016


Hello, everyone,

I'm working on migration my software from VTK 5.4 to 6.2. Now I'm 
confronting a problem.

I have added the following codes in my c++ codes, which are overriding 
version like vtkTemporalInterpolator etc.

#include<vtkAutoInit.h>
VTK_MODULE_INIT(vtkInteractionStyle);
VTK_MODULE_INIT(vtkRenderingFreeType);
VTK_MODULE_INIT(vtkRenderingFreeTypeOpenGL);
VTK_MODULE_INIT(vtkRenderingOpenGL);

#define vtkRenderingCore_AUTOINIT 
4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRen
deringOpenGL)
#define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL)

But compiling was success, but when I tried to operate my software, it gave 
me an error like this:

 import imoose.trinityNG.libvtkLocalNGPython as vtklocal
ImportError: 
/storage/users/kruettgen/Liu5/pymoose/rc/install/lib/python2.7/site-
packages/imoose/trinityNG/libvtkLocalNG.so: undefined symbol: 
_Z39vtkRenderingFreeType_AutoInit_Constructv

Could someone please help me out of it. 

Thanks a lot.



More information about the vtkusers mailing list