undefined reference to `vtable for __cxxabiv1::__class_type_info 

-fno-rtti 

更多推荐