Closed JafferWilson closed 7 years ago
Hey,
How did you install Bazel?
...I mean, did you install from Chocolatey, download a release binary, built one yourself?
Please do not send screenshots, it makes it harder to read, reproduce, or to google your issue for other people.
I'm very sorry if it came across as harsh, I didn't mean that. I was shooting for emotion-less informal black-tea-dry style :)
@mhlopko No hard feelings. I will keep that in mind when I have any issues.
I have followed the windows installation process from the website: https://bazel.build/versions/master/docs/install-windows.html using the part Use the binary distribution
that's it.
But could not install owing to the issue.
This is the error what I am getting:
The procedure entry point
_ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteS1_EEPFvvE could not be located in the dynamic link library
C:\bazel.exe
@JafferWilson : Thanks for the info! This issue looks similar to https://github.com/bazelbuild/bazel/issues/2756, and the reason is likely the same: you are using the MSYS-ful version of Bazel (as opposed to the MSYS-less version, i.e. the one built with MSVC), and your PATH
environment variable is set up incorrectly, such that Windows finds an MSYS dll file but it's the wrong version. This is typically caused by having tools installed that use MSYS behind the scenes, such as Git for Windows, but they typically use a different version than the one Bazel is linked against, and their path comes sooner on PATH
than the right MSYS's path, and so Bazel tries to load an incompatible dll. Another possibility is you installed a newer MSYS version than the one Bazel is linked against, and it comes first on your PATH
, again leading to Bazel finding an incompatible dll.
Try our MSYS-less version: it is not linked to the MSYS dll (though it still needs MSYS at runtime in order to run shell commands): it's available either with a bundled JDK or without one.
Yes it did worked tanks.
The image shows the pop up I am getting while running the bazel in windows. Kindly let me know what I can do to make it run comfortably.