Specifying a different mexsh
Mostra commenti meno recenti
Hi,
I'm new to mex-files. I'm trying to compile a file written in C in folder A, with a header in some folder B, using a custom mexopts_custom.sh file that was handed to me. How can I specify that I want to use mexopts_custom.sh when I run the mex command?
>>mex myFile.c
Also, trying on an sample mex-file
>>mex timestwo.c
produces the following error:
xcodebuild: error: SDK "macosx10.7" cannot be located.
xcrun: error: unable to find utility "clang", not a developer tool or in PATH
mex: compile of ' "timestwo.c"' failed.
I am using OS X 10.8.5, MATLAB 2013b (8.2.0.701) and Xcode 5.0 with
If anyone could shed some light on this, I'd really appreciate it.
Cordially,
1 Commento
Royi Avital
il 20 Ott 2013
Is build 8.2.0.701 the is the release version of MATLAB 8.2 (R2013b)?
Risposta accettata
Più risposte (1)
Ken Atwell
il 4 Ott 2013
1 voto
Xcode 5 removed the 10.7 SDK that MEX is looking for. See:
1 Commento
Nicolas
il 4 Ott 2013
Categorie
Scopri di più su Matrix Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!