← Back to team overview

yade-dev team mailing list archive

Re: Crash after class adding

 

> 26 [0x7fcb31c31800] FATAL yade.Omega null
> - /home/gladk/dem/yade/currentMono/yade/core/Omega.cpp:204
> scanPlugins: libpackages: undefined symbol `typeinfo for
> TranslationEngine'
> 26 [0x7fcb31c31800] FATAL yade.Omega null
> - /home/gladk/dem/yade/currentMono/yade/core/Omega.cpp:204
> scanPlugins:
> libpackages: /home/gladk/dem/yade/currentMono/build/lib/yade-currentMono/plugins/libpackages.so: undefined symbol: _ZTI17TranslationEngine
> ....
> ....
> 
> What does it mean "undefined symbol `typeinfo for TranslationEngine'"?

Virtual method table (vtable) for TranslationEngine is not linked to
libpackages.so. Either you haven't enabled TranslationEngine at
compile-time at all, or TranslationEngine doesn't have vtable -- it is
generated only if it contains virtual methods that are in the .cpp file
(e.g. virtual descructor, for instance).

HTH, Vaclav




Follow ups

References