Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 cppunit 开发单元测试。
我构建并安装了 cppunit 库,然后构建并安装了我的单元测试二进制文件。
当我启动单元测试二进制文件时,出现以下错误:
can't resolve symbol '_Unwind_GetIPInfo' in lib '/usr/lib/libstdc++.so.6'.
仅当测试返回失败时才会生成此错误。如果测试重新运行正常,我没有收到此错误
关于这个错误的任何想法?
看起来您使用不同的 stdc 库进行编译和运行时,检查G++ 总是失败,未定义对 _Unwind_GetIPInfo 的引用