[Scons-users] how to configure scons for Visual Studio 2017 (RC)

Steffen Herbort steffen.herbort at ar-tracking.de
Thu Jan 12 12:00:29 EST 2017


I'll try the registry keys!

I'm using SCons 2.5.1...

Am 12. Januar 2017 17:29:48 MEZ schrieb Bill Deegan <bill at baddogconsulting.com>:
>MSVC initialization searches the registry for the versions of MSVC
>SCons
>knows about.
>Since this is a new version it likely requires some updates with
>information on where the install information is stored in the registry.
>
>If you look at SCons/Tool/MSCommon/vc.py (and vs.py)  you'll see a list
>of
>registry locations.
>If you can look at the registry on your machine and get us the
>appropriate
>paths I can probably put together an updated file for you to try out
>(and make the change in the devel tree).
>
>You could also try setting:
>MSVC_USE_SCRIPT (See manpage:
>http://scons.org/doc/production/HTML/scons-man.html)
>
>Which version of SCons are you running?
>
>-Bill
>
>On Thu, Jan 12, 2017 at 7:43 AM, Steffen Herbort <
>steffen.herbort at ar-tracking.de> wrote:
>
>> HI!
>>
>>
>>
>> I'm trying to get scons configured to use a VS2017RC environment for
>my
>> build.
>>
>> It works in the VS2017 command prompt when I define the compiler and
>> linker manually:
>>
>> CC = '"C:\\Program Files (x86)\\Microsoft Visual
>> Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.10.24728\\
>> bin\\HostX86\\x86\\cl.exe"'
>>
>> CXX = '"C:\\Program Files (x86)\\Microsoft Visual
>> Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.10.24728\\
>> bin\\HostX86\\x86\\cl.exe"'
>>
>> LINK = '"C:\\Program Files (x86)\\Microsoft Visual
>> Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.10.24728\\
>> bin\\HostX86\\x86\\link.exe"'
>>
>> But this does *not* work in the basic command promt.
>>
>> 1) Do you have a working configuration for the standard windows
>command
>> prompt?
>>
>> 2) It seems that scons can't find the basic include files, since I
>get the
>> following error:
>>
>> fatal error C1083: File (Include) can't be opened: "stdio.h": No such
>> file or directory
>>
>> Where do I specify those includes?
>>
>>
>>
>> --
>>
>> SH
>>
>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>

--
Dr.-Ing. Steffen Herbort
Teamleader Research & Development

Advanced Realtime Tracking GmbH
Am Oeferl 6
82362 Weilheim i. OB
GERMANY

T +49 (0)881 - 92530 - 51
F +49 (0)881 - 92530 - 01
www.ar-tracking.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170112/ecddc501/attachment.html>


More information about the Scons-users mailing list