プロジェクトの .exe ファイルを生成するために Deploytool を使用して、Matlab で Windows スタンドアロン アプリケーションを作成しようとしています。(ここで述べたように: http://www.mathworks.co.uk/products/demos/compiler/deploytool/index.html )。
問題は、Deploytool でファイルを追加して Build ボタンを押すと、mbuild -setup を使用してコンパイラをセットアップするように求められることです。そうするとき、私が得る唯一のオプションは次のとおりです。
Would you like mbuild to locate installed compilers [y]/n? n
Select a compiler:
[1] Microsoft Visual C++ 2005 SP1
[2] Microsoft Visual C++ 2008 Express
[3] Microsoft Visual C++ 2008 SP1
[0] None
いずれかを選択すると、次のようになります。
*The default location for Microsoft Visual C++ 2008 Express compilers is C:\Program Files (x86)\Microsoft Visual Studio 9.0,
but that directory does not exist on this machine.
Please enter the location of your compiler:*
ビルド時に次のエラーも表示されます。
*Could not find the compiler "cl" on the DOS path.
Use mbuild -setup to configure your environment properly.
C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Unable to locate compiler.
Error: An error occurred while shelling out to mbuild (error code = 2).
Unable to build executable.*
この問題を解決するのを手伝ってくれませんか。
前もって感謝します。