Compiler Missing From Installed Compiler
조회 수: 6 (최근 30일)
이전 댓글 표시
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
채택된 답변
Walter Roberson
2019년 2월 27일
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
Walter Roberson
2019년 3월 4일
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 .
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!