gpt4 book ai didi

c++ - '_Unwind_GetIPInfo' 符号

转载 作者:行者123 更新时间:2023-11-28 07:40:01 24 4
gpt4 key购买 nike

我正在使用 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com