再次遇到 undefined reference to `vtable for XXXX'
2011-08-25 12:54
483 查看
之前遇到过一次,这次又遇到,又想不起来了,搜了一通还是找到了上次搜索的结果,特此记录备忘:
http://bytes.com/topic/c/answers/161894-undefined-reference-vtable
===================
That is the most obscure error message the gcc produces, but the reason
is usually simple:
The compiler has to put the vtable into an object file. It puts it into
the object file where the definition of the first non-inline member
function is. If it is missing, you get this rather unhelpful linker
error. Please check the existence of the definitions of your member
functions.
Gabriel
===================
原因就是:有成员函数未定义...
相关文章推荐
- 编译时遇到 "Undefined reference to vtable for ***" 错误怎么办?
- error: undefined reference to 'vtable for XXXXXXXX'
- QT中的 undefined reference to vtable for "xxx::xxx" 错误解决
- Qt出现错误“undefined reference to `vtable for 错误
- [QT学习]编译错误 undefined reference to vtable for **
- Qt出现错误“undefined reference to `vtable for XXXXX.XXX”
- Qt 出现“undefined reference to `vtable for”原因总结 (ZZ)
- Qt 出现“undefined reference to `vtable for”原因总结
- win7终端Qt4.8.0执行make出现undefined reference to 'vtable for xxx'
- Qt 出现“undefined reference to `vtable for”原因总结
- c++虚函数 undefined reference to `vtable for
- 编译错误:undefined reference to `vtable for
- Qt 出现“undefined reference to `vtable for”原因总结
- undefined reference to vtable for
- QT中的 undefined reference to vtable for "xxx::xxx" 错误解决
- undefined reference to `vtable for 问题的解决
- Qt出现“undefined reference to vtable for”原因总结
- “undefined reference to `vtable for”出现原因
- 自学QT之报错undefined reference to vtable for "xxx::xxx"
- C++ link error : undefined reference to 'vtable for ...'