[Scons-users] SCons 3.0.4 Bug - VSWhere.exe Hard-Coded Path (32-Bit Platforms)
    Joseph C. Brill 
    jbrill at mindspring.com
       
    Mon Mar 25 17:53:42 EDT 2019
    
    
  
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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190325/9f79e28f/attachment.html>
    
    
More information about the Scons-users
mailing list