[Scons-users] has overriding C++ compiler paths and names changed with Python 3.x?
Bill Deegan
bill at baddogconsulting.com
Thu Jan 17 23:12:27 EST 2019
It should be fixed with 3.0.4.
I can roll up a package and stick in github for you if that would help.
On Thu, Jan 17, 2019 at 3:36 PM Damien <damien at khubla.com> wrote:
> Hi all,
>
> For probably ten years we've run a custom build setup, overriding SCons
> default behaviour for compiler selection, library flags etc depending on
> what OS we're on and what compiler versions we need to use. We've been
> on 3.0.1 with Python 2.7 for a year now. We're just setting up a CI/QC
> server with 3.0.3 and Python 3.7.2. SCons is now complaining that there
> are no C++ compilers installed, even though we have set the path
> explicitly. This is with Visual Studio 2017, v15.9.5, it just came out
> a few days ago.
>
> We now get the missing compiler message: scons: warning: No version of
> Visual Studio compiler found - C/C++ compilers most likely not set
> correctly
>
> In the SCons environment, we set the following in a .py file that's
> called by the SConscript from SConstruct:
>
> cxxcompilerpath = ["C:/Program Files (x86)/Microsoft Visual
> Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64"]
> env.PrependENVPath('PATH', cxxcompilerpath)
> env['CXX'] = 'cl.exe'
>
> That cxxcompilerpath exists and cl.exe is there. This has worked for
> years for us.
>
> We get the standard command prompt "can't find it" message:
>
> 'cl.exe' is not recognized as an internal or external command,
> operable program or batch file.
>
> SCons was installed with "python setup.py install", not with pip.
>
> Any suggestions?
>
> Damien
>
>
>
>
>
> _______________________________________________
> 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/20190117/42fd1d2a/attachment.html>
More information about the Scons-users
mailing list