[Scons-dev] SCons building with MS Visual C++10 on 64-bit Windows.
Edward d'Auvergne
edward at nmr-relax.com
Fri Jun 15 09:59:35 EDT 2012
Ok, the problem seems to be in the Tool/MSCommon/vc.py file. If I hack the
debugging debug() calls for the Windows code to print the text to STDOUT, I
see the error as:
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
The full log is at the bottom. If I run this vcvarsall.bat script from its
directory, I see:
PS C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\> .\vcvarsall.bat
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
PS C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\>
So this BAT file seems fine. But if I run this with the amd64 arg as SCons
does, I see:
PS C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\> .\vcvarsall.bat
amd64
The specified configuration type is missing. The tools for the
configuration might not be installed.
PS C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\>
Looking at this BAT file, it is looking for C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat. So I don't
have the 64-bit TARGET_ARCH installed, but that's fine because I want to
build 32-bit modules anyway, so that the Windows users of my software (
http://www.nmr-relax.com) can all use the same binary distribution. From
the comments in the SCons vc.py script, this should then default to 32-bit
(line 356 for version 2.1.0). This looks like where this fails. The
req_taget_platform is set to 'x86_64' (it's taken from env.get("TARGET
ARCH")), and target_platform to 'amd64' (taken from evn.get("HOST_ARCH")).
So the test thinks that the 64-bit arch is installed. Now the vcvarsall.bat
file fails if the 64-bit architecture is not installed, but this occurs
after this non-functional test. This non-functional test is not how you
should determine if something is installed or not!!! Big fat fail there!
Now I don't know the best way that such a test should be fixed. I would
suggest that a special function (with all contents in a try statement) be
added which is called on the amd64 arch only. This then would run the
vcvars64.bat file with 'amd64' and 'x86'. STDOUT should then be parsed as
it is now, to check if the 64-bit install is there. Now if everything
fails as now, I would recommend some type of warning message to the user
through the SCons.Warnings.warn() system about what is missing, rather than
silently giving up and then trying to run the 'cl' command, obviously
without success.
My hack, which could go into a separate function, is to change the test of
line 359 with:
if target_platform=='amd64':
try:
(vc_script,sdk_script) =
find_batch_file(env,version,host_platform,'amd64')
d = script_env(vc_script, args='amd64')
except BatchFileExecutionError, e:
try_target_archs = ['x86']
This will check for 'amd64' (using the logic from the rest of this
function), then switch to 'x86' if the vcvars65.bat script failed, allowing
the x86 arch to be set up later on. This small change allows me to now
compile successfully. According to the 'file' command on my Linux system,
I have a "PE32 executable for MS Windows (DLL) (GUI) Intel 80386 32-bit"
module. So how do I get this into SCcons?
Regards,
Edward
scons: Reading SConscript files ...
trying to find VC 10.0Exp
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
found VC 10.0Exp
trying to find VC 10.0
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
found VC 10.0
trying to find VC 9.0
find_vc_dir(): no VC registry key
'Software\\Wow6432Node\\Microsoft\\VisualStudio\\9.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 9.0
trying to find VC 9.0Exp
find_vc_dir(): no VC registry key
'Software\\Wow6432Node\\Microsoft\\VCExpress\\9.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 9.0Exp
trying to find VC 8.0
find_vc_dir(): no VC registry key
'Software\\Wow6432Node\\Microsoft\\VisualStudio\\8.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 8.0
trying to find VC 8.0Exp
find_vc_dir(): no VC registry key
'Software\\Wow6432Node\\Microsoft\\VCExpress\\8.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 8.0Exp
trying to find VC 7.1
find_vc_dir(): no VC registry key
'Software\\Wow6432Node\\Microsoft\\VisualStudio\\7.1\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 7.1
trying to find VC 7.0
find_vc_dir(): no VC registry key
'Software\\Wow6432Node\\Microsoft\\VisualStudio\\7.0\\Setup\\VC\\ProductDir'
find_vc_pdir return None for ver 7.0
trying to find VC 6.0
find_vc_dir(): no VC registry key
'Software\\Wow6432Node\\Microsoft\\VisualStudio\\6.0\\Setup\\Microsoft
Visual C++\\ProductDir'
find_vc_pdir return None for ver 6.0
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
MSCommon/sdk.py: trying to find SDK 7.0
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft
SDKs\Windows\v7.0\InstallationFolder
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\Microsoft
SDKs\\Windows\\v7.0\\InstallationFolder'
MSCommon/sdk.py: trying to find SDK 6.1
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft
SDKs\Windows\v6.1\InstallationFolder
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\Microsoft
SDKs\\Windows\\v6.1\\InstallationFolder'
MSCommon/sdk.py: trying to find SDK 6.0A
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft
SDKs\Windows\v6.0A\InstallationFolder
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\Microsoft
SDKs\\Windows\\v6.0A\\InstallationFolder'
MSCommon/sdk.py: trying to find SDK 6.0
find_sdk_dir(): checking registry:Software\Microsoft\Microsoft
SDKs\Windows\v6.0\InstallationFolder
find_sdk_dir(): no SDK registry key 'Software\\Microsoft\\Microsoft
SDKs\\Windows\\v6.0\\InstallationFolder'
MSCommon/sdk.py: trying to find SDK 2003R2
find_sdk_dir(): checking
registry:Software\Microsoft\MicrosoftSDK\InstalledSDKS\D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1\Install
Dir
find_sdk_dir(): no SDK registry key
'Software\\Microsoft\\MicrosoftSDK\\InstalledSDKS\\D2FF9F89-8AA2-4373-8A31-C838BF4DBBE1\\Install
Dir'
MSCommon/sdk.py: trying to find SDK 2003R1
find_sdk_dir(): checking
registry:Software\Microsoft\MicrosoftSDK\InstalledSDKS\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3\Install
Dir
find_sdk_dir(): no SDK registry key
'Software\\Microsoft\\MicrosoftSDK\\InstalledSDKS\\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3\\Install
Dir'
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
msvc_setup_env()
get_default_version()
get_default_version(): msvc_version:None msvs_version:None
installed_vcs:['10.0Exp', '10.0']
msvc_setup_env: using default installed MSVC version '10.0Exp'
msvc_setup_env: using specified MSVC version '10.0Exp'
vc.py:msvc_find_valid_batch_script()
vc.py:get_host_target()
vc.py:get_host_target() req_target_platform:x86_64
vc.py:msvc_find_valid_batch_script() trying target_platform:amd64
find_vc_dir(): found VC in registry: C:\Program Files (x86)\Microsoft
Visual Studio 10.0\VC\
vc.py: find_batch_file() pdir:C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\
sdk.py:get_installed_sdks()
vc.py:msvc_find_valid_batch_script() vc_script:C:\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat sdk_script:None
vc.py:msvc_find_valid_batch_script() use_script 2 u'C:\\Program Files
(x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat', args:amd64
Calling 'C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat amd64'
vc.py:msvc_find_valid_batch_script() use_script 3: failed running VC script
u'C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\VC\\vcvarsall.bat': amd64: Error:The specified configuration type is
missing. The tools for the
configuration might not be installed.
vc.py:msvc_find_valid_batch_script() use_script 6: Neither VC script nor
SDK script found
vc.py:msvc_setup_env() use_script 2 None
scons: done reading SConscript files.
scons: Building targets ...
####################################
# relax (http://www.nmr-relax.com) #
####################################
###########################
# Compiling the C modules #
###########################
Building the relaxation curve fitting module 'maths_fns\\relax_fit.pyd'
cl /Fomaths_fns\c_chi2.obj /c maths_fns\c_chi2.c /nologo
/I"C:\Python27\Scripts\..\include"
/I"C:\Python27\lib\site-packages\numpy\core\include"
scons: building terminated because of errors.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20120615/6b147d92/attachment.html>
More information about the Scons-dev
mailing list