Excel 插件 MATLAB 库编译器
Excel Add-in MATLAB library compiler
我正在尝试在 Matlab 中编译一个 Excel 插件,但我有一个 "Error during packaging":
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 个版本。
有人对此有解决方案吗?
谢谢
刚刚找到解决方案。
在自定义模式下安装Visual Studio(如果我安装的是 2015 专业版)并添加所有 C++ itens。
我正在尝试在 Matlab 中编译一个 Excel 插件,但我有一个 "Error during packaging":
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 个版本。
有人对此有解决方案吗?
谢谢
刚刚找到解决方案。
在自定义模式下安装Visual Studio(如果我安装的是 2015 专业版)并添加所有 C++ itens。