Dear Yusuf,
SPM8 is very, very old now so best would be to switch to SPM12 if the
toolbox you are using is compatible with it (or upgrade it if needed).
That said, a 'maintenance' version of SPM8 is available here:
https://github.com/spm/spm8/archive/maint.zip
It contains extra changes for compatibility with your version of
MATLAB/macOS.
Best regards,
Guillaume.
On 10/04/2019 00:21, Yusuf Daniju wrote:
> Dear Experts,
>
> I am trying to run the Gannet spectroscopy toolbox, but when I get to
> the coregister step which calls spm. I get the following error:
>
>
> Invalid MEX-file
> '/Users/yusufdaniju/Downloads/spm8/spm_existfile.mexmaci64':
> dlopen(/Users/yusufdaniju/Downloads/spm8/spm_existfile.mexmaci64, 6):
> Library not loaded:
> @loader_path/libmex.dylib
> Referenced from: /Users/yusufdaniju/Downloads/spm8/spm_existfile.mexmaci64
> Reason: image not found
>
> Error in spm_vol>subfunc (line 100)
> if ~spm_existfile(p)
>
> Error in spm_vol>subfunc1 (line 77)
> v = subfunc(P(i,:));
>
> Error in spm_vol>subfunc2 (line 69)
> V = subfunc1(P);
>
> Error in spm_vol (line 54)
> V = subfunc2(P);
>
> Error in GannetMask_Philips (line 47)
> V=spm_vol(nii_file);
>
> Error in GannetCoRegister (line 19)
> MRS_struct=GannetMask_Philips(sparname,nii_name{ii},MRS_struct,
>
> Any assistance would be much appreciated
>
>
> Best Wishes
>
> Yes
--
Guillaume Flandin, PhD
Wellcome Centre for Human Neuroimaging
UCL Queen Square Institute of Neurology
London WC1N 3BG
|