Error: Could not detect a compiler on local system which can compile the specified input file(s) Error using mex

8 views (last 30 days)
I'm running Matlab 2012a on Windows 7, 64 bits. I want to run this growcut sample, which includes a cpp file, a mexglx file, a mexmaci file, and a mexw32 file.
http://www.mathworks.com/matlabcentral/fileexchange/19091-growcut-image-segmentation
I attempted to the program by executing growcut_test.m and got the following errors:
>> growcut_test
Error: Could not detect a compiler on local system
which can compile the specified input file(s)
Error using mex (line 206)
Unable to complete successfully.
Error in growcut (line 37)
mex growcutmex.cpp;
I supposed the interpreter would compile the .cpp file, maybe I supposed wrong? What can I do to run this program?

Accepted Answer

Walter Roberson
Walter Roberson on 10 Jan 2013
Once you have loaded SDK 7.1, you need to
mex -setup

More Answers (1)

mahmonir
mahmonir on 15 Nov 2013
very good.... Thanks...

Categories

Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!