[Scons-users] how to configure scons for Visual Studio 2017 (RC)
Bill Deegan
bill at baddogconsulting.com
Thu Jan 12 11:29:48 EST 2017
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170112/ffc819ec/attachment-0001.html>
More information about the Scons-users
mailing list