Re: Scons-users Digest, Vol 95, Issue 10

James Rinkevich <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
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, [email protected] wrote:
> 
> Send Scons-users mailing list submissions to
>    [email protected]
> 
> 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
>    [email protected]
> 
> You can reach the person managing the list at
>    [email protected]
> 
> 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 <[email protected]>
> To: SCons users mailing list <[email protected]>
> Subject: Re: [Scons-users] How to get path of Windows SDK using SCons
> Message-ID:
>    <CAEyG4CFKFKek2TsWk_cGnn12ggGdbWJ1SHguhsyA89h9jhrxuw@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 <[email protected]> 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
>> [email protected]
>> 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 <[email protected]>
> To: SCons users mailing list <[email protected]>
> Subject: Re: [Scons-users] How to get path of Windows SDK using SCons
> Message-ID:
>    <CAP2Qz+U2tWGgCsHsnuxqmAHJ=yJwvuNYPu_Ya2i5ip0iXxzkEQ@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 <[email protected]>
> 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 <[email protected]> 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
>>> [email protected]
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>> 
>> _______________________________________________
>> Scons-users mailing list
>> [email protected]
>> 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
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
> 
> 
> ------------------------------
> 
> End of Scons-users Digest, Vol 95, Issue 10
> *******************************************

_______________________________________________
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.