[Scons-users] Scons-users Digest, Vol 95, Issue 10

James Rinkevich rinkevichjm at gmail.com
Tue Sep 17 05:08:04 EDT 2019


The first part of the path should be in the windows environment variable “PROGRAMFILES(X86)” for 64 bit applications. Use Python to get the os.environment variable value and append the rest of the path. See 7.1 and 7.2 of the scons user manual.
Also see https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features.

Sent from my iPhone

> On Sep 16, 2019, at 10:41 PM, scons-users-request at scons.org wrote:
> 
> Send Scons-users mailing list submissions to
>    scons-users at scons.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    https://pairlist4.pair.net/mailman/listinfo/scons-users
> or, via email, send a message with subject or body 'help' to
>    scons-users-request at scons.org
> 
> You can reach the person managing the list at
>    scons-users-owner at scons.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Scons-users digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: How to get path of Windows SDK using SCons (Bill Deegan)
>   2. Re: How to get path of Windows SDK using SCons (Eric Fahlgren)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 16 Sep 2019 17:29:46 -0700
> From: Bill Deegan <bill at baddogconsulting.com>
> To: SCons users mailing list <scons-users at scons.org>
> Subject: Re: [Scons-users] How to get path of Windows SDK using SCons
> Message-ID:
>    <CAEyG4CFKFKek2TsWk_cGnn12ggGdbWJ1SHguhsyA89h9jhrxuw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> If I understand correctly  he's wondering if scons' msvc initialization
> sets some variable he can use in a command to copy these files into his
> build tree..
> 
>> On Mon, Sep 16, 2019 at 5:22 PM Mats Wichmann <mats at wichmann.us> wrote:
>> 
>>> On 9/16/19 11:11 AM, Lukasz Golonka wrote:
>>> Hello,
>>> Sorry for the late reply.
>>> My goal is to copy Universal CRT libraries to the directory of my
>>> program as part of SCons execution. |These libraries are located in the
>> C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86
>>> At least on my machine. According to the Microsoft documentation the
>>> second part of this path is always the same however location of Windows
>>> 10 SDK may differ between machines.
>>> Is it possible to retrieve it via SCons?
>>> 
>> 
>> SCons doesn't know anything about the crt/ucrt redistributable bits, it
>> just expects things to work.
>> 
>> Is there something it should be doing here?
>> _______________________________________________
>> 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/20190916/a2810b2c/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 16 Sep 2019 17:38:22 -0700
> From: Eric Fahlgren <ericfahlgren at gmail.com>
> To: SCons users mailing list <scons-users at scons.org>
> Subject: Re: [Scons-users] How to get path of Windows SDK using SCons
> Message-ID:
>    <CAP2Qz+U2tWGgCsHsnuxqmAHJ=yJwvuNYPu_Ya2i5ip0iXxzkEQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Yeah, I do something like this to get to the root for the MSVC's
> redist.exe, which we package in our installer, but he's looking for the
> DLLs in a whole different directory tree, so this probably won't work
> there...
> 
>        from SCons.Tool.MSCommon.vc import find_vc_pdir_vswhere
>        vs_root = find_vc_pdir_vswhere(env['MSVC_VERSION']
>        ...
> 
> On Mon, Sep 16, 2019 at 5:30 PM Bill Deegan <bill at baddogconsulting.com>
> wrote:
> 
>> If I understand correctly  he's wondering if scons' msvc initialization
>> sets some variable he can use in a command to copy these files into his
>> build tree..
>> 
>>> On Mon, Sep 16, 2019 at 5:22 PM Mats Wichmann <mats at wichmann.us> wrote:
>>> 
>>>> On 9/16/19 11:11 AM, Lukasz Golonka wrote:
>>>> Hello,
>>>> Sorry for the late reply.
>>>> My goal is to copy Universal CRT libraries to the directory of my
>>>> program as part of SCons execution. |These libraries are located in the
>>> C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86
>>>> At least on my machine. According to the Microsoft documentation the
>>>> second part of this path is always the same however location of Windows
>>>> 10 SDK may differ between machines.
>>>> Is it possible to retrieve it via SCons?
>>>> 
>>> 
>>> SCons doesn't know anything about the crt/ucrt redistributable bits, it
>>> just expects things to work.
>>> 
>>> Is there something it should be doing here?
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>> 
>> _______________________________________________
>> 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/20190916/897677d4/attachment-0001.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
> 
> 
> ------------------------------
> 
> End of Scons-users Digest, Vol 95, Issue 10
> *******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190917/1519a770/attachment.html>


More information about the Scons-users mailing list