Re: SCons 3.0.4 Bug - VSWhere.exe Hard-Coded Path (32-Bit Platforms)
Bill Deegan <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <CAEyG4CHtXvWciMZStM_4AuAFZmKYKSt0xVyy_6hCGEpf8+HpTw@mail.gmail.com> |
Thanks! Please file a bug on github? I'll try to get it into the next release. Hopefully that'll be out in a few days. -Bill On Mon, Mar 25, 2019 at 2:52 PM Joseph C. Brill <[email protected]> wrote: > 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 > _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users