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

5 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (1)

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

Categorie

Scopri di più su Troubleshooting in MATLAB Compiler SDK in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by