You won't be able to compile the SPM5 version, but if you install the
latest updates for SPM8, you should be able to compile that one. The
reason for the problem is that SPM5 and SPM8 were written before
matlab_2011a became available. Since then, Guillaume fixed SPM8 (in
an update), but SPM5 is no longer really supported.
Best regards,
-John
On 27 April 2011 22:02, John Ostuni <[log in to unmask]> wrote:
> spm_bwlabel compiled fine using matlab_2010b, but with matlab_2011a the following error occurs for both spm5 and spm8 when I compile spm:
> (I am using 32 bit Linux, CentOS 5.6)
>
> spm_bwlabel.c: In function ‘mexFunction’:
> spm_bwlabel.c:364: warning: assignment makes pointer from integer without a cast
> spm_bwlabel.o: In function `mexFunction':
> spm_bwlabel.c:(.text+0xa17): undefined reference to `mxCreateScalarDouble'
> collect2: ld returned 1 exit status
>
> mex: link of ' "spm_bwlabel.mexglx"' failed.
>
>
> Thanks for any assistance,
> John
>
|