Why do I receive the error message "No supported compiler was found." and "Looking for registry setting 'path_to\Microsoft SDKs\Windows\v10.0' InstallationFolder ...No." when compiling a MATLAB application using the Library Compiler to an Excel Add-in?
4 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2021-11-26
回答: MathWorks Support Team
2021-11-26
It is sought to compile a MATLAB application into an Excel Add-in using the Library Compiler. However, when packaging the application I am receiving the following error message,
... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0' InstallationFolder ...No.
No supported compiler was found. You can install the freely available MinGW-w64 C/C++ compiler; visit https://www.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html. For more options, visit https://www.mathworks.com/support/compilers.
and the packaging errors out. It turns out that MATLAB cannot find the registry entry for the Windows SDK 10, although Windows SDK 10 has been installed. When downloading the installer using the following link,
then I am prompted to download additional packages for the installation. Then, it is possible to download the missing Windows SDK 10 packages, see the following screenshot,
However, this does not resolve the issue and I am still faced with the same error when packaging the application.
Why do I receive the error message "No supported compiler was found." and "Looking for registry setting 'path_to\Microsoft SDKs\Windows\v10.0' InstallationFolder ...No." when compiling a MATLAB application using the Library Compiler to an Excel Add-in?
采纳的回答
MathWorks Support Team
2021-11-26
The issue is that updating the remaining packages by complementing the installation of the Windows SDK 10 in this way might have the registry entry not appropriately updated, thus having MATLAB not being able to retrive this information.
Please uninstall Windows SDK 10 and re-install it along with the missing packages to have the issue resolved.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!