2016-07-12 48 views
0

我試圖編譯一個Excel插件在Matlab,但我有一個「包裝過程中的錯誤」:Excel加載MATLAB庫編譯

No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; visit http://www.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html . For more options, visit http://www.mathworks.com/support/compilers/R2016a/win64.html . Error: An error occurred while shelling out to mbuild (error code = -1). Unable to build executable.

在日誌也顯示:

No MEX options file identified; looking for an implicit selection.

No MEX options file identified; looking for an implicit selection.

Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft SDK 7.1'.

Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2010'.

Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2012'.

Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2013'.

Did not find installed compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft SDK 7.1'.

Did not find installed compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft Visual Studio 2010'.

Did not find installed compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft Visual Studio 2012'.

Did not find installed compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft Visual Studio 2013'.

Did not find installed compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft Visual Studio 2015'.

Did not find installed compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft SDK 7.1'.

Did not find installed compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft Visual Studio 2010'.

Did not find installed compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft Visual Studio 2012'.

Did not find installed compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft Visual Studio 2013'.

Did not find installed compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft Visual Studio 2015'.

Found installed compiler 'MinGW64 Compiler (C++)'.

Did not find installed compiler 'Microsoft Visual C++ 2010'.

Did not find installed compiler 'Microsoft Visual C++ 2012'.

Did not find installed compiler 'Microsoft Visual C++ 2013 Professional'.

Did not find installed compiler 'Microsoft Visual C++ 2015 Professional'.

我已將所有Visual Studio版本安裝在我的機器上。

任何人的解決方案?

謝謝

回答

0

剛剛找到解決方案。

在自定義模式下安裝Visual Studio(以防我安裝了2015專業版)並添加所有C++ itens。