Hey guys, I must be missing some basic fundamentals here because I can't even follow step 1 of this tutorial:
Bazel Tutorial: Configure C++ Toolchains
I created .bazelrc, BUILD, and hello-world.c as per the instructions yet when I try to build I get entirely different errors than expected:
bazel build --config=clang_config
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
.bazelrc
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file).
ERROR: The 'build' command is only supported from within a workspace (below a directory having a WORKSPACE file).
Hopefully someone can enlighten me.
Thanks,
Davorin