[Scons-users] SCons 3.0.4 Bug - VSWhere.exe Hard-Coded Path (32-Bit Platforms)

Bill Deegan bill at baddogconsulting.com
Mon Mar 25 19:19:17 EDT 2019


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 <jbrill at mindspring.com>
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
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190325/e087caf4/attachment.html>


More information about the Scons-users mailing list