Changes

Jump to navigation Jump to search

Scons

1,334 bytes removed, 11:30, 20 June 2013
no edit summary
== clean/remove compilation ==
scons clean_all
 == Bugfix scons for 32bit building ==Due to a bug, versions of scons '''<=2.3''' should alter a line in:<br>'''PYTHON INSTALL FOLDER\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"> del C:\WinPython27\relax_disp>sconsscons: Reading SConscript files ...scons: done reading SConscript files.scons: Building targets ... ############################ Compiling the C modules ############################Building the relaxation curve fitting module 'relax_disp_32\target_functions\\relax_fit.pyd' cl /Fotarget_functions\c_chi2.obj /c target_functions\c_chi2.c /nologo /I"C:\WinPython27\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>clean_all
= Build relax =

Navigation menu