Matlab deploytool C++ libreries
2 views (last 30 days)
Show older comments
mcc -W cpplib:mysum -T link:lib -d D:\Eshetu\80628-dll-test\mysum\for_testing -v D:\Eshetu\80628-dll-test\m-source\mysum.m Compiler version: 6.4 (R2017a)
Dependency analysis by REQUIREMENTS.
Parsing file "D:\Eshetu\80628-dll-test\m-source\mysum.m" (Referenced from: "Compiler Command Line"). Deleting 0 temporary MEX authorization files. Generating file "D:\Eshetu\80628-dll-test\mysum\for_testing\mysum.h". Generating file "D:\Eshetu\80628-dll-test\mysum\for_testing\mysum.cpp". Generating file "D:\Eshetu\80628-dll-test\mysum\for_testing\mysum.exports". Generating file "D:\Eshetu\80628-dll-test\mysum\for_testing\readme.txt". Executing command: ""C:\Program Files\MATLAB\R2017a\bin\mbuild" -client mbuild -O -v -output "mysum" -I"D:\Eshetu\80628-dll-test\mysum\for_testing" "D:\Eshetu\80628-dll-test\mysum\for_testing\mysum.cpp" DEFFILE"=""D:\Eshetu\80628-dll-test\mysum\for_testing\mysum.def""" LINKEXPORT"=""/DLL /def:\"$DEFFILE\"""" LDEXT"="".dll""" LDTYPE"="" -shared -static""" MTCMDLINE"=""mt -outputresource:$EXE;2 -manifest $MANIFEST""" -outdir "D:\Eshetu\80628-dll-test\mysum\for_testing"" Verbose mode is on. No MEX options file identified; looking for an implicit selection. ... Looking for compiler 'Intel C++ Composer XE 2013 with Microsoft SDK 7.1' ... ... Looking for environment variable 'ICPP_COMPILER14' ...No. ... Looking for environment variable 'ICPP_COMPILER13' ...No. Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft SDK 7.1'. ... Looking for compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2012' ... ... Looking for environment variable 'ICPP_COMPILER14' ...No. ... Looking for environment variable 'ICPP_COMPILER13' ...No. Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2012'. ... Looking for compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2013' ... ... Looking for environment variable 'ICPP_COMPILER14' ...No. ... Looking for environment variable 'ICPP_COMPILER13' ...No. Did not find installed compiler 'Intel C++ Composer XE 2013 with Microsoft Visual Studio 2013'. ... Looking for compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft SDK 7.1' ... ... Looking for environment variable 'ICPP_COMPILER15' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft SDK 7.1'. ... Looking for compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft Visual Studio 2012' ... ... Looking for environment variable 'ICPP_COMPILER15' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft Visual Studio 2012'. ... Looking for compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft Visual Studio 2013' ... ... Looking for environment variable 'ICPP_COMPILER15' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft Visual Studio 2013'. ... Looking for compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft Visual Studio 2015' ... ... Looking for environment variable 'ICPP_COMPILER15' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2015 for C++ with Microsoft Visual Studio 2015'. ... Looking for compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft SDK 7.1' ... ... Looking for environment variable 'ICPP_COMPILER16' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft SDK 7.1'. ... Looking for compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft Visual Studio 2012' ... ... Looking for environment variable 'ICPP_COMPILER16' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft Visual Studio 2012'. ... Looking for compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft Visual Studio 2013' ... ... Looking for environment variable 'ICPP_COMPILER16' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft Visual Studio 2013'. ... Looking for compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft Visual Studio 2015' ... ... Looking for environment variable 'ICPP_COMPILER16' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2016 for C++ with Microsoft Visual Studio 2015'. ... Looking for compiler 'Intel Parallel Studio XE 2017 for C++ with Microsoft SDK 7.1' ... ... Looking for environment variable 'ICPP_COMPILER17' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2017 for C++ with Microsoft SDK 7.1'. ... Looking for compiler 'Intel Parallel Studio XE 2017 for C++ with Microsoft Visual Studio 2012' ... ... Looking for environment variable 'ICPP_COMPILER17' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2017 for C++ with Microsoft Visual Studio 2012'. ... Looking for compiler 'Intel Parallel Studio XE 2017 for C++ with Microsoft Visual Studio 2013' ... ... Looking for environment variable 'ICPP_COMPILER17' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2017 for C++ with Microsoft Visual Studio 2013'. ... Looking for compiler 'Intel Parallel Studio XE 2017 for C++ with Microsoft Visual Studio 2015' ... ... Looking for environment variable 'ICPP_COMPILER17' ...No. Did not find installed compiler 'Intel Parallel Studio XE 2017 for C++ with Microsoft Visual Studio 2015'. ... Looking for compiler 'MinGW64 Compiler (C++)' ... ... Looking for environment variable 'MW_MINGW64_LOC' ...No. Did not find installed compiler 'MinGW64 Compiler (C++)'. ... Looking for compiler 'Microsoft Visual C++ 2012' ... ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No. ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 11.0 ...No. Did not find installed compiler 'Microsoft Visual C++ 2012'. ... Looking for compiler 'Microsoft Visual C++ 2013 Professional' ... ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No. ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 12.0 ...No. Did not find installed compiler 'Microsoft Visual C++ 2013 Professional'. ... Looking for compiler 'Microsoft Visual C++ 2015 Professional' ... ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No. ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No. ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No. Did not find installed compiler 'Microsoft Visual C++ 2015 Professional'. ... Looking for compiler 'Microsoft Windows SDK 7.1 (C++)' ... ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.1' InstallationFolder ...No. ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v7.1' InstallationFolder ...No. Did not find installed compiler 'Microsoft Windows SDK 7.1 (C++)'. 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/R2017a/. Error: An error occurred while shelling out to mbuild (error code = -1). Unable to build executable.
0 Comments
Answers (1)
Jason Whitfield
on 28 Jun 2018
Edited: Jason Whitfield
on 28 Jun 2018
It looks like you don't have a C++ compiler installed. Try installing MinGW-w64 as described here https://www.mathworks.com/help/matlab/matlab_external/install-mingw-support-package.html . Alternately, you can install any compiler on this page https://www.mathworks.com/support/compilers.html that has a green checkmark in the C/C++ column of the MATLAB Compiler table.
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!