Why do I receive a link error from libstdc++.so when I try to compile my application with the MATLAB Compiler 4.0 (R14)?

1 回表示 (過去 30 日間)
I am trying to compile my application using the MATLAB Compiler 4.0 (R14) and I recieve the following error:
ERROR: libstdc++.so: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status

採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 4 月 24 日
編集済み: MathWorks Support Team 2023 年 4 月 24 日
This error may occur with the MATLAB Compiler 4.0 (R14) when used in combination with GCC 3.3.x, with GCC 3.2.3 that is distributed by RedHat, or with another unsupported version of GCC.
For the list of supported compilers, consult the following document:
To resolve this, see the related solution in order to compile and install a fully compatible GCC or the other related solution to try a workaround that is not officially supported.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by