Re: MSVC 14.2 (Visual Studio 2019) detected as 14.1

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CFYvL6cSpyeuL6onVwxfiE_GtQMgjkTrdO3=nrVWza9ww@mail.gmail.com>
Just added an issue to track it:
https://github.com/SCons/scons/issues/3346

-Bill

On Wed, Apr 10, 2019 at 11:54 AM Leonard de Ruijter Development <
[email protected]> wrote:

> Hello Bill,
>
>
> Thanks for the quick reply. Good to see that you're aware of the issue. I
> was not aware of that, as there doesn't seem to be an issue on github for
> it.
>
>
> I also thank you for your work on SCons, as it's a build system I
> generally like.
>
>
> Kind regards,
>
> Leonard
> On 10-4-2019 20:30, Bill Deegan wrote:
>
> Leonard,
>
> We're aware of the issue.
> We're working on VS2019 support. (Currently not supported)
> Hopefully have something before too long.
>
> As far as adding support "properly".. It's open source.
> If you check the release notes you'll see NO indication that VS 2019 is
> supported as yet.
>
> If you'd like to send a pull request with a fix, that's always welcome.
>
> -Bill
> P.S. Thank you or working on such a project. My mother-in-law is legally
> blind and working with her on the computer has made me acutely aware of how
> challenging it is for her.
> P.P.S See that's how you thank open source developers for their time and
> effort.. ;)
>
> On Wed, Apr 10, 2019 at 9:35 AM Leonard de Ruijter Development <
> [email protected]> wrote:
>
>> Hello all,
>>
>>
>> For NVDA, a screen reader for the visually impaired, we're using SCons as
>> build system. In our sconstruct file, we enforce the use of Visual Studio
>> 2017, like this:
>>
>>
>> if not env.get('MSVC_VERSION')=='14.1':
>>     raise RuntimeError("Visual C++ 14.1 (Visual Studio 2017) not found")
>>
>>
>> With Visual Studio 2019 however, I noticed that the build still ran.
>> After investigation, I noticed that the MSVC_VERSION variable was set to
>> 14.1.
>>
>>
>> I also tried the following:
>>
>>
>> >>> from SCons.Tool.MSCommon.vc import find_vc_pdir
>> >>> find_vc_pdir("14.1")
>> u'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC'
>> >>> find_vc_pdir("14.2")
>> Traceback (most recent call last):
>>   File "<console>", line 1, in <module>
>>   File
>> "D:\Development\nvda\include\scons\src\engine\SCons\Tool\MSCommon\vc.py",
>> line 338, in find_vc_pdir
>>     raise UnsupportedVersion("Unknown version %s" % msvc_version)
>> UnsupportedVersion: Unknown version 14.2
>>
>> This is with Python 2.7.16 with SCons master.
>>
>> It would be great if VC14.2 support could be added properly.
>>
>>
>> Regards,
>>
>> Leonard de Ruijter
>> _______________________________________________
>> Scons-users mailing list
>> [email protected]
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>
> _______________________________________________
> Scons-users mailing [email protected]://pairlist4.pair.net/mailman/listinfo/scons-users
>
> _______________________________________________
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.