-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bazel doesn't seem to handle the Visual Studio 2019 toolchain layout #8028
Comments
I can confirm it. And I found this: I wonder if the change was in 0.24.1 and even Visual Studio 2017 works properly. |
rename 2019 to 2017 |
#7872 fixed this. |
Hi laszlocsomor, But where can I get 0.25.0 now? When will you release it? Thanks. |
@raulftang : It's not released yet. Follow #7498 |
worked for me. |
I used bazel-0.21 & VS build tool 2019, meet the same problem. |
Also works for me in order to build tensorflow 1.13.1 from source. |
I had the same problem. All the files that the error mentioned could be found in where my visual studio installed but Bazel still had errors. Then I installed Build Tools for Visual Studio 2019 from here and changed the |
using Bazel release 0.24.1
The target you are compiling requires Visual C++ build tools.
Bazel couldn't find a valid Visual C++ build tools installation on your machine.
Visual C++ build tools seems to be installed at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC
But Bazel can't find the following tools:
VCVARSALL.BAT, cl.exe, link.exe, lib.exe, ml64.exe
Please check your installation following https://docs.bazel.build/versions/master/windows.html#using
INFO: Elapsed time: 0.275s, Critical Path: 0.04s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
The text was updated successfully, but these errors were encountered: