[vtkusers] Failure of vtkRenderingFreetypeModule
KOZLOVSKY Nicolas
nicolas.kozlovsky at fr.thalesgroup.com
Wed Feb 3 02:17:45 EST 2016
Hi Yan
All what I know is that with 6.3, some renderer have disappeared and I had the same error with FreeType Renderer. I only keep OpenGL Renderer.
#include<vtkAutoInit.h>
VTK_MODULE_INIT(vtkInteractionStyle);
VTK_MODULE_INIT(vtkRenderingOpenGL);
And with cmake my code works perfectly well.
-----Message d'origine-----
De : vtkusers [mailto:vtkusers-bounces at vtk.org] De la part de Yan
Envoyé : mardi 2 février 2016 18:13
À : vtkusers at public.kitware.com
Objet : Re: [vtkusers] Failure of vtkRenderingFreetypeModule
KOZLOVSKY Nicolas <nicolas.kozlovsky <at> fr.thalesgroup.com> writes:
>
>
> Hi Yan
> First I think you don't have to use the #define anymore (replaced by
VTK_MODULE_INIT).
> Secondly, you can remove the renderer that causes the problem and try
> to
run your code has now many things
> have change.
>
> So try to remove this statement :
> VTK_MODULE_INIT(vtkRenderingFreeType);
>
> -----Message d'origine-----
> De : vtkusers [mailto:vtkusers-bounces <at> vtk.org] De la part de Yan
> Envoyé : mardi 2 février 2016 12:10 À : vtkusers <at>
> public.kitware.com Objet : [vtkusers] Failure of
> vtkRenderingFreetypeModule
>
> 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.
>
> _______________________________________________
> 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
> _______________________________________________
> 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
>
>
Hi, Niclolas,
first thank you for your replying.
But the situation is that, it has first the error of undefined symbol:
_Z39vtkRenderingFreeType_AutoInit_Constructv. Then I tried to add those codes in it.
I have tried your way, but it doesn't work. Perhaps I should something to CMakeLists or somewhat?
Someone said also that it is perhaps due to the circumstance of the system.
What I used is LINUX.
Thank you again.
_______________________________________________
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 --------------
A non-text attachment was scrubbed...
Name: M Nicolas KOZLOVSKY.vcf
Type: text/x-vcard
Size: 1589 bytes
Desc: M Nicolas KOZLOVSKY.vcf
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160203/8ff5b8cc/attachment.vcf>
More information about the vtkusers
mailing list