You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide the following information. The more we know about your system and use case, the more easily and likely we can help.
Description of the problem / feature request / question:
Building Bazel from scratch failed.
If possible, provide a minimal example to reproduce the problem:
set PATH=C:\msys64\usr\bin;C:\jdk\bin;C:\python35;C:\python35\scripts;%PATH%
set BAZEL_SH=C:/msys64/usr/bin/bash.exe
set JAVA_HOME=C:\jdk
set BAZEL_PYTHON=C:/python35/python.exe
set BAZEL_VS=C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise
set JAVA_HOME=C:\jdk
bash compile.sh
Environment info
Operating System:
Windows 10
Bazel version (output of bazel info release):
0.6.1
Have you found anything relevant by searching the web?
None
Anything else, information or logs or outputs that would be helpful?
Build log:
Building Bazel from scratch......**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.4.0
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Microsoft (R) C/C++ Optimizing Compiler Version 19.11.25547 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
file-jni.cc
D:\os\bazel-0.6.1-dist\src\main\native\windows\file-jni.cc(25): fatal error C1083: Cannot open include file: 'src/main/native/windows/file.h': No such file or directory
file.cc
D:\os\bazel-0.6.1-dist\src\main\native\windows\file.cc(21): fatal error C1083: Cannot open include file: 'src/main/native/windows/file.h': No such file or directory
jni-util.cc
D:\os\bazel-0.6.1-dist\src\main\native\windows\jni-util.cc(20): fatal error C1083: Cannot open include file: 'src/main/native/windows/jni-util.h': No such file or directory
processes-jni.cc
D:\os\bazel-0.6.1-dist\src\main\native\windows\processes-jni.cc(26): fatal error C1083: Cannot open include file: 'src/main/native/windows/jni-util.h': No such file or directory
util.cc
D:\os\bazel-0.6.1-dist\src\main\native\windows\util.cc(24): fatal error C1083: Cannot open include file: 'src/main/native/windows/util.h': No such file or directory
Generating Code...
The content of generated "windows_jni.bat" is something like:
However, after invoking "VCVARSALL.BAT", current working directory would be under C:\xxxx, so "cd D:\xxxxx" doesn't take effect immediately. you need to call "D:" after that.
The text was updated successfully, but these errors were encountered:
Please provide the following information. The more we know about your system and use case, the more easily and likely we can help.
Description of the problem / feature request / question:
Building Bazel from scratch failed.
If possible, provide a minimal example to reproduce the problem:
set PATH=C:\msys64\usr\bin;C:\jdk\bin;C:\python35;C:\python35\scripts;%PATH%
set BAZEL_SH=C:/msys64/usr/bin/bash.exe
set JAVA_HOME=C:\jdk
set BAZEL_PYTHON=C:/python35/python.exe
set BAZEL_VS=C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise
set JAVA_HOME=C:\jdk
bash compile.sh
Environment info
Operating System:
Windows 10
Bazel version (output of
bazel info release
):0.6.1
Have you found anything relevant by searching the web?
None
Anything else, information or logs or outputs that would be helpful?
Build log:
The content of generated "windows_jni.bat" is something like:
However, after invoking "VCVARSALL.BAT", current working directory would be under C:\xxxx, so "cd D:\xxxxx" doesn't take effect immediately. you need to call "D:" after that.
The text was updated successfully, but these errors were encountered: