Visual Studio 2015 doesn't have cl.exe

前端 未结 3 1235
醉酒成梦
醉酒成梦 2020-11-27 12:35

I downloaded Visual C++ and Visual Studio, but I cannot find cl.exe to compile my C++ file. The path to the install is `C:\\Program Files (x86)\\Microsoft Visu

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-27 13:16

    For me that have Visual Studio 2015 this works:
    Search this in the start menu: Developer Command Prompt for VS2015 and run the program in the search result.
    You can now execute your command in it, for example: cl /?

提交回复
热议问题