Bazel installation on windows
Bazel installation on windows
How to install bazel on windows 10 ? And how to run the command bazel build ?
Whenever i run the command bazel build it shows an error saying that it only works from workspace
I dont know how to create a workspace
You need a WORKSPACE file (an empty file can be enough). You probably want to look at the tutorials to get started.
– Laurent
Dec 2 '17 at 16:29
1 Answer
1
Create an empty workspace file in your directory
copy NUL WORKSPACE
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
It sounds like you have Bazel installed but you're not using it from within a Bazel project folder. What does your project folder structure look like? Perhaps you can try one of the tutorials on docs.bazel.build/versions/master/getting-started.html to understand the basics on Bazel.
– Jin
Oct 27 '17 at 19:56