Dear SPMers & experts,
I am trying to run SPM5 using Matlab 7.4.0 on a Macbook. I can start the program just fine, but whatever I am trying to do I get errors indicating that files are not compiled such as:
In Batch_Analysis_imp_SE at 28
??? Error using ==> spm_list_files at 15
spm_list_files.c not compiled - see spm_MAKE.sh
Error in ==> Batch_Analysis_imp_SE at 33
[Files,Dirs] = spm_list_files(datarun{run},'s*.img');
OR:
??? Error using ==> spm_sample_vol at 36
spm_sample_vol.c not compiled - see Makefile
Error in ==> spm_get_data at 41
Y(i,:) = spm_sample_vol(V(i),XYZ(1,:),XYZ(2,:),XYZ(3,:),0);
Error in ==> spm_getSPM at 525
Z = min(Z,spm_get_data(xCon(i).Vspm,XYZ));
Error in ==> spm_results_ui at 264
[SPM,xSPM] = spm_getSPM;
??? Error using ==> [hReg,xSPM,SPM] = spm_results_ui;
Error using ==> spm_sample_vol at 36
spm_sample_vol.c not compiled - see Makefile
??? Error while evaluating uicontrol Callback
When trying to compile using the following commands...
make PLATFORM=Darwin.intel
OR:
make install PLATFORM=Darwin.intel
...I end up getting the following error message in X11:
mex -O -c spm_mapping.c
gcc-3.3: installation problem, cannot exec `cc1': No such file or directory
mex: compile of 'spm_mapping.c' failed.
Any advice and help with this would be greatly appreciated! Thank you very much in advance!
Best,
Leonhard
--
Leonhard Schilbach
Department of Psychiatry
University of Cologne
Kerpener Str. 62
50924 Cologne, Germany
mobile: +49 170 386 6983
facsimile: + 49 221 478 3738
__
http://www.medizin.uni-koeln.de/kliniken/psychiatrie/Bildgebung/schilbach.htm