← Back to team overview

yade-dev team mailing list archive

Re: Crash after class adding

 

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)

v/





Follow ups

References