A dynamic_cast was used with a pointer to a class type that is either undefined, or doesn't have any virtual member functions.