64bit Windows 環境でモデルをビルド​するとエラーが表示さ​れるのはなぜですか?

9 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 25 Oct 2013
Microsoft Visual C/C++ 2005 をコンパイラとして正常にインストールしているにもかかわらず、モデルをビルドしようとすると下記エラーが表示されます。原因と回避方法を教えてください。
### Processing Template Makefile: C:\Program Files\MATLAB\R2007a\rtw\c\rsim\rsim_vcx64.tmf
### つぎのモデルに対する Real-Time Workshop ビルドプロセス: '(使用しているmスクリプト・ファイル名)' はエラーのため中止しました。
??? エラー ==> wrap_make_cmd.p>LocPCWrapMakeCmd 47 行目
Visual C/C++, Watcom, Borland, Intel, または LCC コンパイラが見つかりません。
つぎの環境変数の1つを定義してください:
Make sure the VS80COMNTOOLS environment variable\nwas set when Visual Studio 2005 was installed set WATCOM=<WatcomPath>
set BORLAND=<BorlandPath>
あるいは、"mex -setup" を実行して使用するコンパイラの位置を指定するか、MATLAB で提供される LCC コンパイラを使用するように指定してください。

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 25 Oct 2013
下記環境変数にVisual Studioのパスが設定されていないことが原因です。
VS80COMNTOOLS
Microsoft Visual C/C++ 2005 の場合は、下記のように環境変数を設定してください。
VS80COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\
環境変数の設定方法については、関連ソリューションをご参照ください。

Plus de réponses (0)

Catégories

En savoir plus sur Generated Code Compilation dans Help Center et File Exchange

Produits


Version

R2007a

Community Treasure Hunt

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

Start Hunting!