CMake does not find Visual C++ compiler

前端 未结 27 2321
小鲜肉
小鲜肉 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:28

    None of the previous solutions worked for me. However I noticed that although I installed Visual Studio version 15 (not to be confused with Visual Studio 2015) the directory created on my computer was for Visual Studio 14.

    When I specified Visual Studio 14 when I pressed the configuration button it worked.

提交回复
热议问题