[Scons-dev] Visual Studio without C++ compiler installed
Daniel Moody
dmoody256 at gmail.com
Sun Aug 12 01:03:50 EDT 2018
I was looking at one of our test in the appveyor CI and I noticed it was
failing due to the 'cl' executable not being found:
https://ci.appveyor.com/project/SCons/scons/build/3.0.1.205/job/yp0pg368ga5i033b#L141
This is a case where Visual Studio has been installed, but the C++ build
tools have not. SCons detects the Visual Studio installation and assumes
the C++ build tools will be there.
Usually Visual Studio installs the c++ compiler by default so this is
generally not an issue, however for Visual Studio 2015, the c++ compiler
was not installed by default and when developing on systems where I was
using Visual Studio 2015 install, I ran into this issue myself a few times.
I would then need to go install the C++ compiler for that version to fix it.
Is this a bug? Should SCons detect if the C++ compiler is installed along
with a Visual Studio version, and if the C++ compiler is not there, discard
that version from the list of available MSVS versions to use?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20180812/373d388e/attachment.html>
More information about the Scons-dev
mailing list