Dear Glad,
>> What is the error message you get when you type:
>>>> spm_bsplinc(1,ones(1,6))
> ??? Invalid MEX-file 'C:\Programme\spm12\spm_bsplinc.mexw32'
It's usually a sign you need to install the VC++ runtime libraries from
Microsoft (2005 and 2008):
http://support.microsoft.com/kb/2019667
(annoyingly the server seems to be down at the moment).
> As for the 32-bit MEX file compilation on linux: I keep getting errors
> about missing -lmx, -lmex and -lmat and I gave up on it. If you can
> compile it for 32-bit linux, that would be awesome and I would greatly
> appreciate it.
Here they are:
http://www.fil.ion.ucl.ac.uk/spm/download/spm12_updates/spm12_mexglx.zip
(32bit Linux remains officially unsupported though).
Best regards,
Guillaume.
> On 22.01.2015 16:13, Guillaume Flandin wrote:
>> Dear Glad,
>>
>> the error you get on Linux comes from the fact we don't provide 32-bit
>> compiled MEX files for this platform as we do not support it any more.
>> Compilation should be uneventful though - if I find my 32-bit Linux
>> virtual machine, I can try and send you the files you need.
>>
>> For 32-bit Windows, it should work. A problem might be due to the fact
>> that you need to install the VC++ 2005 and 2008 Redistributable Packages
>> (vcredist_x86.exe) from Microsoft (and reboot in between):
>> http://support.microsoft.com/kb/2019667
>> What is the error message you get when you type:
>>>> spm_bsplinc(1,ones(1,6))
>>
>> Best regards,
>> Guillaume.
>>
>>
>> On 22/01/15 14:14, Paul Glad Mihai wrote:
>>> Dear Guillaume and SPM12 users,
>>>
>>> I am trying to run SPM12 on 64-bit Linux with 32-bit Matlab (because of
>>> the 2011 student version) and also on a 32-bit Windows machine with
>>> Matlab 2009. They both give me this error:
>>>
>>> *************************************************************************
>>> ??? Error using ==> spm_check_installation>check_basic at 140
>>> SPM uses a number of MEX files, which are compiled functions.
>>> These need to be compiled for the various platforms on which SPM
>>> is run. At the FIL, where SPM is developed, the number of
>>> computer platforms is limited. It is therefore not possible to
>>> release a version of SPM that will run on all computers. See
>>> /home/glad/.spm/spm12/src/Makefile and
>>> http://en.wikibooks.org/wiki/SPM#Installation
>>> for information about how to compile mex files for GLNX86
>>> in MATLAB 7.12.0.635 (R2011a).
>>>
>>> Error in ==> spm_check_installation at 28
>>> check_basic;
>>>
>>> Error in ==> spm at 317
>>> spm_check_installation('basic');
>>> *************************************************************************
>>>
>>> Do I really need to compile the mex files? My understanding from the SPM
>>> website (http://www.fil.ion.ucl.ac.uk/spm/software/spm12/) is that I
>>> shouldn't have to.
>>>
>>> Regards,
>>> Glad
>>>
>>
>
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|