It looks like the mexglx files may need re-compiling for this system. I would
suggest you try typing the following (in a regular shell):
cd /raid/UsrLocal/Linux32/spm5/src
make install
If you cross your fingers, then it might just work.
Best regards,
-John
On Monday 22 December 2008 12:50, Joel Dunn wrote:
> I get this error when trying to read analyze image volumes in SPM5 on
> Linux. I've not tried to run SPM in total on this system so there maybe
> other related problems. Advice from anyone one with experience deciphering
> error codes would be welcome.
>
> I'm running Matlab 2008a on Ubuntu 8.04. SPM5 has all available updates.
>
> >> V=spm_vol('image.img');
>
> - works ok -
>
> >> I=spm_read_vols(V);
>
> ??? Invalid MEX-file '/raid/UsrLocal/Linux32/spm5/spm_slice_vol.mexglx':
> /raid/UsrLocal/Linux32/spm5/spm_slice_vol.mexglx: symbol
> mxGetNumberOfDimensions,
> version libmx.INTERNAL not defined in file libmx.so with link time
> reference.
>
> Error in ==> spm_read_vols at 39
> Y(:,:,p,i) = spm_slice_vol(V(i),spm_matrix([0 0 p]),V(i).dim(1:2),0);
>
> ----
> Cheers
> Joel
|