我正在使用 cppunit 开发单元测试。
我构建并安装了 cppunit 库,然后构建并安装了我的单元测试二进制文件。
当我启动单元测试二进制文件时,出现以下错误:
can't resolve symbol '_Unwind_GetIPInfo' in lib '/usr/lib/libstdc++.so.6'.
仅当测试将返回失败时才会生成此错误。如果测试返回 OK 我没有得到这个错误
知道这个错误吗?
最佳答案
看起来您在编译和运行时使用了不同的 stdc 库,检查 G++ always fails with undefined reference to _Unwind_GetIPInfo
关于c++ - '_Unwind_GetIPInfo' 符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16021278/