vs项目编译到xcode上报的错

来源:互联网 发布:淘宝店铺常用推广方式 编辑:程序博客网 时间:2024/04/30 09:39

1.vtable for XXX:  referenced form :a missing vtable usually means the first non-inline virtual member function has no definition

Linked command failed with exit code 

原因:1.在xcode下编译cocos2d-x项目,如果子类继承了父类但是没有实现父类的虚函数,就会报如上错误。同时,没有实现析构函数也会出现同样问题。

原创粉丝点击