Linking error with scons and win x64

Can anyone point me in the right direction?
I’m trying to build Blender 2.5 using scons and msvc (2008 Pro). I was able to build blender about a month ago but now I’m getting the following error:

Linking program ==> ‘makesdna.exe’
C:\build\blender25-win64-vc\source\blender\makesdna\intern\makesdna.obj : fatal
error LNK1112: module machine type ‘X86’ conflicts with target machine type 'x64

scons: *** [C:\build\blender25-win64-vc\makesdna.exe] Error 1112
scons: building terminated because of errors.

Thank you for any help anyone can provide.

Delete everything, redownload latest SVN, try again.

I did, I think. Just to make sure, I’ll delete everything and start over. Shouldn’t be a big deal.

At this point can anyone else successfully build a current Win x64 version of 2.5?

I deleted everything and started over. It’s still having the problem.

Compiling ==> ‘rna_action.c’
rna_access.c
C:\build\blender25-win64-vc\source\blender\makesdna\intern\makesdna.obj : fatal
error LNK1112: module machine type ‘X86’ conflicts with target machine type 'x64

makesrna.c
Compiling ==> ‘rna_action_api.c’
rna_action.c
scons: *** [C:\build\blender25-win64-vc\makesdna.exe] Error 1112
rna_action_api.c
scons: building terminated because of errors.

Any other ideas?

Thanks.

I’m not really familiar with x64, but you can ask the blender devs at #blendercoders, they probably could help you.