2016-07-12 49 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。