这个C++是什么意思?运行时警告
执行 C++ 应用程序时出现以下运行时错误。在错误警告之后我的应用程序立即终止。
warning: can't find linker symbol for virtual table for `world2d::SeeIntensityAlgorithm' value
warning: found `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' instead
warning: RTTI symbol not found for class 'CppUnit::SourceLine'
关于问题是什么有什么想法吗?
抱歉,我无法给您任何来源,该项目很大,如果我知道问题出在哪里,我自己解决问题就会容易得多。
我的编译器是gcc。
I'm getting the following runtime errors when executing my c++ application. Right after the error warnings my app terminates.
warning: can't find linker symbol for virtual table for `world2d::SeeIntensityAlgorithm' value
warning: found `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' instead
warning: RTTI symbol not found for class 'CppUnit::SourceLine'
Any ideas on what the problem is?
Sorry I can't give you any source, the project is big and if I knew where the problem was I would have it much easier fixing the problem myself.
My compiler is gcc.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否从构造函数中调用纯虚拟?甚至可能是间接的?
请参阅:从不调用 Virtual构建或销毁期间的功能
Are you calling a pure virtual from a constructor? Maybe even indirectly?
See: Never Call Virtual Functions during Construction or Destruction