Drawable build error on the mac


I’m getting the following error:

typeinfo for juce::DrawableText /Users/rrabien/dev/ruca/ruca/build/macos/../../../bin/Ruca.build/Debug/Ruca.build/Objects-normal/ppc/ResourceCache.o reference to undefined typeinfo for juce::DrawableText collect2: ld returned 1 exit status

when I try and dynamic_cast a Drawable to a DrawableText

Any ideas?


Sorry, I’m mystified by that one! The compiler must have type info enabled, or nothing else would build at all, so I’ve no idea why that class in particular would cause trouble… Could it just be something simple like a corrupted object file that you need to clean out?


Apparently this error is caused by having a virtual function in the parent class that is missing a function body. But, as all the virtual functions are pure abstract, I don’t see how this is the problem. Unless I am overlooking something.