Trouble in recompiling the Fieldtrip

SUBSCRIBE FIELDTRIP Jack M. jackm_ustc at YAHOO.COM.CN
Thu Dec 18 21:47:35 CET 2008


Hello,

I met exactly the same problem as listed on the Fieldtrip wiki under the FAQ
section "Matlab complains about a missing or invalid MEX file, what should I
do?"

So I followed the instruction on that wiki and tried to recompile the
binaries. I am using an iMac (OS X 10.5.5) and Matlab2007b. When I tried 
mex meg_leadfield1.c , the error message said, "

/Applications/MATLAB_R2007b/bin/mex: line 1025: gcc-4.0: command not found
/Applications/MATLAB_R2007b/bin/mex: line 1004: gcc-4.0: command not found
/Applications/MATLAB_R2007b/bin/mex: line 930: gcc-4.0: command not found

    mex: compile of 'meg_leadfield1.c' failed.

??? Error using ==> mex at 208
Unable to complete successfully.
"

I am a newbie. Could anyone please give me a solution? Thanks a lot!

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.



More information about the fieldtrip mailing list