I wanna run a C++ file 'mexCoarseGrainGamma.cpp', but there is a error, such like,
>> mex mexCoarseGrainGamma.cppBuilding with 'Xcode Clang++'.xcrun: error: SDK "macosx10.13.4" cannot be locatedxcrun: error: SDK "macosx10.13.4" cannot be locatedxcrun: error: SDK "macosx10.13.4" cannot be locatedxcrun: error: SDK "macosx10.13.4" cannot be locatedxcrun: error: SDK "macosx10.13.4" cannot be locatedMEX completed successfully.
Do anyone know what is the problem? And how to fix it? Thank you in advance.
Best Answer