Compiler Missing From Installed Compiler
5 views (last 30 days)
Show older comments
Dustin Budzene
on 27 Feb 2019
Commented: Walter Roberson
on 4 Mar 2019
I have MatLab 7.6.0 and MCRInstaller 7.8. I amtrying to compile a program that was created years ago for my company. I have the project open with all the correct files. When I try to build the poject it gives me this message in the Deployment Tool Output:
Your project cannot be built because you have not specified a compiler.
To do so run the following command in MATLAB:
mbuild -setup
If the problem persists, click the project settings icon in the toolbar, select General on the left hand panel and then remove the options file specified in the last text box on the right hand side panel.
Then when I use that command it asks me if i would like mbuild to lacate installed compilers y/n >>
When I hit no it says that there are 0 compilers detected. I think that this may be a path problem. Thanks,
Dustin Budzene
0 Comments
Accepted Answer
Walter Roberson
on 27 Feb 2019
You need VS 6.0 Professional, or VS 2005 SP1 Professional, or VS 2005 Express, or VS 2008 Professional.
"Professional" is important for this purpose: if you had VS 2008 Express, for example, then mbuild -setup would not be able to find the compiler.
Use
mbuild -v -setup
to get a more verbose display of what it tries to look for.
11 Comments
Walter Roberson
on 4 Mar 2019
error 53 is probably File Not Found
It would be better if you put the project into a directory whose name had no spaces as the tools often break when there are spaces .
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler 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!