← Back to team overview

yade-dev team mailing list archive

Re: Crash after class adding

 

2009/11/23 Václav Šmilauer <eudoxos@xxxxxxxx>

> You need to put at least one virtual function into the .cpp file
> (not .hpp), otherwise the linker throws the vtable away at link-time
> (IIRC).
>
> > ....
> > virtual ~PressTestEngine(){};
> > virtual void applyCondition(MetaBody*);
>
> Your problem is in TranslationEngine, cf. message you got the first
> time:
>
>  undefined symbol `typeinfo for TranslationEngine'
>
> Did you compile TranslationEngine? (removing YADE_REQUIRE_FEATURE(...)
> from TranslationEngine.cpp)
>

Sorry, you are right! r1816


>
> v/
>
>
>
> _______________________________________________
> 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
>

References