Bazel 0.27+ does not support VS 2017 anymore? #8892
Labels
area-Windows
Windows-specific issues and feature requests
P2
We'll consider working on this in future. (Assignee optional)
team-OSS
Issues for the Bazel OSS team: installation, release processBazel packaging, website
type: bug
Description of the problem / feature request:
On Windows, when using Visual Studio 2017 with Bazel 0.27+, an error occurs when configuring the cc toolchain. Here is the error for Bazel 0.27.x:
On Bazel 0.28 the error is:
which leads to an internal error.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Set
BAZEL_VC
to target Visual Studio 2017 and attempt to build a simple hello-world in C++.What operating system are you running Bazel on?
Windows 10
What's the output of
bazel info release
?release 0.28
Any other information, logs, or outputs that you want to share?
Setting
BAZEL_VC_FULL_VERSION
did not change anything.The exact version of VS I am running is 15.0.0+26228.57. I checked the
vcvarsall.bat
on my computer and it does not seem to support thevcvars_ver
parameter. I will try to find co-workers with a more recent VS 2017 installation to compare.BAZEL_VC = C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC
Edit: a co-worker uses a more recent version of VS 2017 (15.9.6) which supports the
vcvars_ver
parameter. It seems this feature was introduced with version 15.3.The text was updated successfully, but these errors were encountered: