Open main menu

Changes

From http://www.microsoft.com/visualstudio/eng/downloads, download and install: [http://go.microsoft.com/?linkid=9816758 Visual Studio 2012 Express for Windows Desktop].<br>
Skip all extra packages install. After install, just exit any program, which opened after install.
 
== Bugfix scons for 32bit building ==
Due to a bug, versions of scons '''<=2.3''' should alter a line in:<br>
'''C:\WinPython27\WinPython-32bit-xxx\python-xxx\Lib\site-packages\scons-2.3.0\SCons\Tool\MSCommon\vc.py'''
 
Line '''364''':
<source lang="python">
if not req_target_platform and target_platform in ('amd64','x86_64'):
try_target_archs.append('x86')
</source>
Should be:
<source lang="python">
#if not req_target_platform and target_platform in ('amd64','x86_64'):
# try_target_archs.append('x86')
if target_platform in ('amd64','x86_64'):
try_target_archs.append('x86')
print "requested", req_target_platform
print "target", target_platform
print "try", try_target_archs
</source>
 
If not fixing the bug, you will get:
<source lang="powershell">
C:\WinPython27\relax_disp>scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
 
###########################
# Compiling the C modules #
###########################
Building the relaxation curve fitting module 'target_functions\\relax_fit.pyd'
 
cl /Fotarget_functions\c_chi2.obj /c target_functions\c_chi2.c /nologo /I"C:\Win
Python27\WinPython-32bit-xxx\scripts\..\python-xxx\include"
'cl' is not recognized as an internal or external command,
operable program or batch file.
scons: *** [target_functions\c_chi2.obj] Error 1
scons: building terminated because of errors.
</source>
= Install Subversion checkout of relax =