This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] 编译器/CC2640R2F:无法使用 std::terminate()、链接步骤中出现未定义的符号错误

Guru**** 3040470 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/871013/compiler-cc2640r2f-unable-to-use-std-terminate-undefined-symbol-error-at-linking-step

器件型号:CC2640R2F

工具/软件:TI C/C++编译器

嗨、大家好!

使用 std::terminate()时遇到问题,尽管我包含了来自 TI 编译器 include/libcxx 路径的正确库。 我遇到以下错误:

错误#10234-D:未解析的符号仍然存在
错误#10010:链接期间遇到错误

有人能帮您解决这个问题吗?

谢谢!

Asma

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    仅当使用编译器选项 --exceptions 进行编译时、RTS 函数 std::终止才可用。

    谢谢、此致、

    乔治