CMake does not find Visual C++ compiler

前端 未结 27 2324
小鲜肉
小鲜肉 2020-11-29 18:51

After installing Visual Studio 2015 and running CMake on a previous project, CMake errors stating that it could not find the C compiler.

The C compiler ident         


        
27条回答
  •  独厮守ぢ
    2020-11-29 19:33

    I ran into the same issue and fixed it by relaunching the Visual Studio Install and checking the following option:

    Windows and Web Development / Universal Windows App Development Tools / Windows 10 SDK

    It contains the standard C++ headers used in most applications and therefore it is often necessary to install it as well.

提交回复
热议问题