Dear Chao-Gan,
that's odd. Are you compiling an unmodified SPM12 with just a call to
spm_make_standalone.m? If so, why not using the compiled version we
provide? Or is it because you want to include your toolboxes as well?
When you look into the folder containing the compiled SPM:
/Program/spm12/spm12_2016/spm_exec/spm12.app/Contents/MacOS/spm12_mcr/spm12/
what files do you see? Does it look like a complete installation?
I compile SPM12 with R2016b without problem on Linux. I haven't tried on
Mac yet but can have a look into it tomorrow in case there is a specific
problem with this platform.
Best regards,
Guillaume.
On 06/10/16 16:33, YAN Chao-Gan wrote:
> Dear SPM experts,
>
> Recently I compiled SPM12 to make a standalone version with MATLAB 2016b
> on MAC OS. I used spm_make_standalone following the instructions at
> https://en.wikibooks.org/wiki/SPM/Standalone.
>
> However I encountered problems running it after successfully compiling
> it. Here is the message:
>
> *./run_spm12.sh /Applications/MATLAB_R2016b.app/ fmri*
> ------------------------------------------
> Setting up environment variables
> ---
> DYLD_LIBRARY_PATH is
> .:/Applications/MATLAB_R2016b.app//runtime/maci64:/Applications/MATLAB_R2016b.app//bin/maci64:/Applications/MATLAB_R2016b.app//sys/os/maci64
> SPM12 (6685):
> /Program/spm12/spm12_2016/spm_exec/spm12.app/Contents/MacOS/spm12_mcr/spm12
> ___ ____ __ __
> / __)( _ \( \/ )
> \__ \ )___/ ) ( Statistical Parametric Mapping
> (___/(__) (_/\/\_) SPM12 - http://www.fil.ion.ucl.ac.uk/spm/
>
>
> SPM12: v6685 23:25:50 - 06/10/2016
> ========================================================================
> Initialising SPM : ..Warning:
> Name is nonexistent or not a directory:
> /Program/spm12/spm12_2016/spm_exec/spm12.app/Contents/MacOS/spm12_mcr/spm12/toolbox/FieldMap
>> In path (line 109)
> In addpath (line 88)
> In tbx_cfg_fieldmap (line 9)
> In spm_cfg_static_tools (line 3)
> In spm_cfg (line 79)
> In cfg_mlbatch_appcfg_1 (line 9)
> In cfg_mlbatch_appcfg_master
> In cfg_util>local_initapps (line 1440)
> In cfg_util (line 743)
> In spm_jobman (line 189)
> In spm (line 335)
> In spm_standalone (line 51)
> Error using spm_cfg_eeg_inv_headmodel (line 121)
> Cannot open
> "/Program/spm12/spm12_2016/spm_exec/spm12.app/Contents/MacOS/spm12_mcr/spm12/EEGtemplates/fiducials.sfp".
>
> Error in spm_cfg_eeg (line 54)
>
>
> Error in spm_cfg (line 130)
>
>
> Error in cfg_mlbatch_appcfg_1 (line 9)
>
>
> Error in cfg_mlbatch_appcfg_master
>
>
> Error in cfg_util>local_initapps (line 1440)
>
>
> Error in cfg_util (line 743)
>
>
> Error in spm_jobman (line 189)
>
>
> Error in spm (line 335)
>
>
> Error in spm_standalone (line 51)
>
>
> Any help would be highly appreciated!
>
> Thanks,
>
> Chao-Gan
> --
> Chao-Gan YAN, Ph.D.
> Principal Investigator
> Deputy Director, Magnetic Resonance Imaging Research Center
> Institute of Psychology, Chinese Academy of Sciences
> 16 Lincui Road, Chaoyang District, Beijing 100101, China
> -
> Initiator
> <http://rfmri.org/DPARSF>DPABI
> <http://rfmri.org/DPABI><http://rfmri.org/DPARSF>,
> <http://dpabi.org>DPARSF <http://rfmri.org/DPARSF>, PRN
> <http://rfmri.org/PRN> and The R-fMRI Network <http://rfmri.org>
> (RFMRI.ORG <http://rfmri.org/>)
> http://rfmri.org/yan
> http://scholar.google.com/citations?user=lJQ9B58AAAAJ
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|