SCons 3.0.4 Bug - VSWhere.exe Hard-Coded Path (32-Bit Platforms)
"Joseph C. Brill" <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <005101d4e355$36b8e800$a42ab800$@com> |
I believe that there is a bug in the path for the vswhere.exe utility on
32-bit platforms (SCons 3.0.4 with Python 2.7 on 32-bit Windows 7).
The vswhere.exe path is hard-coded in SCons\Tool\MsCommon\vc.py (line 291 in
3.0.4 and line 289 in master) as follows:
vswhere_path = os.path.join(
'C:\\',
'Program Files (x86)',
'Microsoft Visual Studio',
'Installer',
'vswhere.exe'
)
This causes VS 2017 (14.1) queries to fail on 32-bit platforms with the
following cryptic error message:
scons: warning: VC version 14.1 not installed. C/C++
compilers are most likely not set correctly.
The appropriate path for 32-bit platforms would be:
vswhere_path = os.path.join(
'C:\\',
'Program Files',
'Microsoft Visual Studio',
'Installer',
'vswhere.exe'
)
Regards,
Joe
_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users