Effacer les filtres
Effacer les filtres

サポートされているコンパイラが見つかりません。

67 vues (au cours des 30 derniers jours)
Daiki Kakiuchi
Daiki Kakiuchi le 19 Mar 2020
Modifié(e) : Musashi Ito le 19 Mar 2020
MATLAB2018bが入っているPCに,
以下の2つをインストールしたのにもかかわらず,
・Microsoft Visual C++ 2015-2019 x64 Redistributable
・Windows 10 SDK
mex -setupと入力すると,
「サポートされているコンパイラが見つかりません。無償提供されている MinGW-w64 C/C++ コンパイラをインストールできます。「Install MinGW-w64 Compiler」を参照してください。その他のオプションについては、https://www.mathworks.com/support/compilers を参照してください。」
とエラーが出るのでしょうか。
mbuild -setup -vと入力すると
'mbuild' には MATLAB Compiler SDK が必要です。
というエラーが出ます。
※インストールを行った順序はSDK→Microsoft Visual C++ 2015-2019 x64 Redistributableです。

Réponses (1)

Musashi Ito
Musashi Ito le 19 Mar 2020
Modifié(e) : Musashi Ito le 19 Mar 2020
ご参考までに、自分はコンパイラのインストールで以下のコンパイラをインストールしたら
・MinGW を MATLAB のアドインからインストール もしくは、
・Microsoft Visual Studio 2017 Community で " Desktop development with C++ " をインストール
mex -setup
を実行したときにエラーが表示されなかったです。
R2018b でサポートしてるコンパイラは以下のページの Supported Compilers の Details から確認できそうです。

Catégories

En savoir plus sur MATLAB Compiler SDK のトラブルシューティング dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!