环境:

  • Windows 10
  • CMake(3.19)
  • Visual Studio 2017

因为我在本地安装的是VS2017所以我在CMake配置中选择的是Visual Studio 15 2017 x64这个配置,但还是报could not find any instance of Visual Studio的错误;在内外网找了好久也没又解决,最后抱着试试的心态选了Visual Studio 16 2019 x64这个配置居然能编译了(心态炸了),具体原因还是不太清楚,但是问题解决了。
解决CMake时“could not find any instance of Visual Studio”问题

相关文章:

  • 2021-08-28
  • 2022-12-23
  • 2021-07-25
  • 2021-09-17
  • 2021-10-25
  • 2022-01-17
  • 2022-03-04
  • 2021-07-29
猜你喜欢
  • 2021-12-02
  • 2022-12-23
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
相关资源
相似解决方案