yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02305
Re: Crash after class adding
Hi, Vaclav!
I do not clearly understand the problem.
I have there in PressTestEngine:
....
virtual ~PressTestEngine(){};
virtual void applyCondition(MetaBody*);
....
Why can it cause the problem?
Thank you.
______________________________
Anton Gladkyy
2009/11/23 Václav Šmilauer <eudoxos@xxxxxxxx>
>
> > 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
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References