CMake configuring fails. “cl.exe is not able to compile a simple test program”

前端 未结 5 1563
南笙
南笙 2020-12-08 03:18

I am trying to build a solution for MSVC++2010 using CMake. Since I installed Visual Studio 2012 that does not work anymore. CMake comes with the following error message: \"

5条回答
  •  攒了一身酷
    2020-12-08 03:37

    I encountered a similar problem,

    In my case, running Visual Studio 2017 as administrator and applying @Adi Shavit's answer worked.

提交回复
热议问题