[llvm] r260049 - [docs] Add a note that the Visual Studio C++ tools are required

Keno Fischer via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 7 11:36:54 PST 2016


Author: kfischer
Date: Sun Feb  7 13:36:54 2016
New Revision: 260049

URL: http://llvm.org/viewvc/llvm-project?rev=260049&view=rev
Log:
[docs] Add a note that the Visual Studio C++ tools are required

Watching new contributors trying to build LLVM on Windows, one of the
very common failure modes was getting a version of Visual Studio
that did not have a C++ compiler for CMake to put up. Trying to create
a C++ project in Visual Studio will cause Visual Studio to go and
download the C++ tools.

Modified:
    llvm/trunk/docs/GettingStartedVS.rst

Modified: llvm/trunk/docs/GettingStartedVS.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/GettingStartedVS.rst?rev=260049&r1=260048&r2=260049&view=diff
==============================================================================
--- llvm/trunk/docs/GettingStartedVS.rst (original)
+++ llvm/trunk/docs/GettingStartedVS.rst Sun Feb  7 13:36:54 2016
@@ -91,6 +91,10 @@ Here's the short story for getting up an
      using LLVM.  Another important option is ``LLVM_TARGETS_TO_BUILD``,
      which controls the LLVM target architectures that are included on the
      build.
+   * If CMake complains that it cannot find the compiler, make sure that
+     you have the Visual Studio C++ Tools installed, not just Visual Studio
+     itself (trying to create a C++ project in Visual Studio will generally
+     download the C++ tools if they haven't already been).
    * See the :doc:`LLVM CMake guide <CMake>` for detailed information about
      how to configure the LLVM build.
    * CMake generates project files for all build types. To select a specific




More information about the llvm-commits mailing list