Hi Kelvin,
Your files are really a great help.
I only had to make some changes in smp.m:
In row 1369:
elseif str2num(version('-release'))==14 & isdeployed, (instead of '&&')
In row 1880:
elseif str2num(version('-release'))~=14 | ~isdeployed, (instead of '||')
I have not tested all the functions of SPM yet, but coreg and DICOM import.
They worked well.
Thank you again for your help!
Best,
Tibor
-----Original Message-----
From: Kelvin Wong [mailto:[log in to unmask]]
Sent: Thursday, May 10, 2007 2:32 AM
To: Auer, Tibor MD.
Subject: Re: [SPM] SPM5: MEX-files for Win x64
Hi Tibor,
I had a version for SPM5 a year ago but that was when I was compiling for
SPM2, which I personally like to use. You may try it and email me back if
it's working for you. I don't see many people asking for it. I just
uploaded this beta version in the site below:
http://www.humanimaging.com/SPM5_x64_Patch.zip
I won't be able to access the x64 systems so good luck. Looking forward
to hear from you.
Best,
Kelvin
On Wed, 9 May 2007, Auer, Tibor MD. wrote:
> Dear SPM-ers,
>
>
>
> I am trying to compile mexw64-file for SPM5, and I am on half-way. Some of
> the basic files (e.g. file2.mat) are ready, and I have already made the
> obj-files needed for linking.
>
>
>
> The problem comes, when I try to compile mexw64-files requiring the
> obj-files. I can see int he Makefile that "gcc" can use "ar"-files, while
my
> compiler (Visual Studio C++ 8.0) cannot. So I have tried to give all the
> obj-files instead of the "ar"-file to my compiler, but this warning comes:
>
>
>
> LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol main
> referenced in function __tmainCRTStartup
>
>
>
> Please, help me if anybody can! Tell me, what I have done wrong!
>
>
>
> Thanks,
>
>
>
> Auer, Tibor M.D.
>
> PhD-student
>
> University of Pécs, Medical Faculty
>
> Department of Neurosurgery
>
> Rét u. 2, Pécs, H-7623, Hungary
>
> Tel.: +36-20-986-9341
>
> E-mail: <mailto:[log in to unmask]> [log in to unmask]
>
>
>
>
|