Dear Jamie,
The problem you come across in CAT12 is apparently the same than the one
you encountered in SPM12 earlier, namely that MEX files compiled with
earlier version of MATLAB are not compatible with R2017a on Mac.
You can recompile the problematic file with:
>> mex cat_vbdist.c
You might have to do the same for other files - I don't know if there is
a Makefile for CAT12.
Note to Christian: while different, I wonder if that particular function
could be implemented using SPM's unused spm_voronoi().
Best regards,
Guillaume.
On 18/08/17 18:05, Jamie Hanson wrote:
> Hello SPM List,
>
> My lab recently upgraded matlab to 2017a (being used on iMac w/ Mac OS 10.12.6 (16G29)), and ran into some issues getting the CAT12 toolbox to work. I got spm working by using the spm12_mexmaci64.zip files referenced in another thread.
>
> However, w/ CAT12, the program just hangs up and then errors out w/ some mex related issues (top of the CAT12 output pasted below). I wondered if others have run into this issue? Any thoughts on troubleshooting this? Any advice or suggestions are greatly appreciated.
>
> Thanks much,
> Jamie.
>
> =====
>
> < M A T L A B (R) >
> Copyright 1984-2017 The MathWorks, Inc.
> R2017a (9.2.0.538062) 64-bit (maci64)
> February 23, 2017
>
>
> To get started, type one of these: helpwin, helpdesk, or demo.
> For product information, visit www.mathworks.com.
>
> CAT parallel processing with MATLAB PID: 9184
>
> ------------------------------------------------------------------------
> CAT12 r1165: 1/1: ./Desktop/untitled folder/20140313_18263_T1w.nii
> ------------------------------------------------------------------------
> APP: Rough bias correction:
> Initialize
> ------------------------------------------------------------------------
> CAT Preprocessing error: MATLAB:mex:ErrInvalidMEXFile: ./jamielh/Desktop/untitled folder/20140313_18263_T1w.nii,1
> ------------------------------------------------------------------------
> Invalid MEX-file '/Users/jamielh/Desktop/Software/spm12/toolbox/cat12/cat_vbdist.mexmaci64':
> Missing symbol '___stack_chk_fail' required by '/Users/jamielh/Desktop/Software/spm12/toolbox/cat12/cat_vbdist.mexmaci64'
> Missing symbol '___stack_chk_guard' required by '/Users/jamielh/Desktop/Software/spm12/toolbox/cat12/cat_vbdist.mexmaci64'
> Missing symbol '_ceilf' required by '/Users/jamielh/Desktop/Software/spm12/toolbox/cat12/cat_vbdist.mexmaci64'
> Missing symbol '_floor' required by '/Users/jamielh/Desktop/Software/spm12/toolbox/cat12/cat_vbdist.mexmaci64'
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|