vtable for ..从编译错误xcode引用 [英] vtable for .. referenced from compile error xcode

查看:238
本文介绍了vtable for ..从编译错误xcode引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编译iPhone项目时出现以下错误。任何人都知道我可以如何解决它?
vtable for oned :: MultiFormatUPCEANReader,引用自:
__ZTVN4oned23MultiFormatUPCEANReaderE $ non_lazy_ptr in MultiFormatUPCEANReader.o
ld:未找到符号
collect2:ld返回1退出状态

I was getting the following error compiling an iPhone project. Anybody know how I may fix it? "vtable for oned::MultiFormatUPCEANReader", referenced from: __ZTVN4oned23MultiFormatUPCEANReaderE$non_lazy_ptr in MultiFormatUPCEANReader.o ld: symbol(s) not found collect2: ld returned 1 exit status

推荐答案

问题似乎是在MultiFormatUPCEANReader类中声明了一个构造函数和析构函数,析构函数,这是造成这个恼人的问题。希望这有助于有人解决他们的编译错误。这是一个可怕的编译器错误,信息很少!

The problem seemed to be that in the class MultiFormatUPCEANReader I had declared a constructor and destructor, but had not written a body for the destructor, this was causing this annoying problem. Hope this helps somebody solve their compile error. This is a terrible compiler error with little information!

这篇关于vtable for ..从编译错误xcode引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆