当前位置:网站首页>找不到 cl.exe 解决办法
找不到 cl.exe 解决办法
2022-07-16 13:18:00 【氵文大师】
本篇适用于由于安装VS全家桶失误,导致确实没有 cl.exe ,而不是有cl.exe,但是没找到的情况哈
cl.exe 是一种工具,用于控制 Microsoft c + + (MSVC) C 和 c + + 编译器和链接器。 cl.exe 只能在支持 Microsoft Visual Studio Windows 的操作系统上运行。
如果你像我一样,在对应位置没有找到 bin,更别说下边的 Hostx64 和 Hostx86 之后的 cl.exe
那应该就是 VS 全家桶没安装好,从这里下载:
https://visualstudio.microsoft.com/zh-hans/
点这个,一般社区版就行:
点开之后大概是这个样子:
如果你没有安装过 Visual Studio 那就点安装往下走,安装过的话,找到你对应的版本,点击修改
然后把这个选上就OK了
安静等待即可,之后再看那个路径,就有了
然后将这个添加到环境变量中:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64
我也不知道该选哪个 cl.exe 的路径,我猜测着都选了 x64,诸位自己猜测吧,应该没啥问题的

然后添加到环境变量中,之后 新开一个终端,输入 cl,如果是:
这样就OK啦,如果是这样:
C:\Users\zihao>cl
'cl' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
那就检查一下哪里错了,要么环境变量错了,要么没有新开终端(实在不行重启一下hhh)
有参考自:
这篇是如何找 cl.exe 的位置的
https://blog.csdn.net/gengli2017/article/details/82384045
下边这篇还有lib路径添加到环境变量中的操作:
https://www.daimajiaoliu.com/daima/56a4dc5a9eb1806/windows
边栏推荐
- 京东金融,你到底是坏,还是码农裁多了??
- Data visualization: plotting pie chart with Matplotlib
- 网络爬虫爬取三国演义所有章节的标题和内容(BeautifulSoup解析)
- Setting method of win11 filtering error log
- Basic operation of stack
- QT creator debug mode breakpoint does not work mincw can
- 数字金字塔(PTA)
- Dataset: detailed introduction, download and usage of white wine quality dataset
- Unity游戏文件大,如何缩小游戏文件
- How to reinstall win10? One click reinstallation of graphic version of win10 tutorial
猜你喜欢

27 introduction to Scala, basic data types, methods and functions

26个顶级开源项目,87个开放任务,阿里巴巴编程之夏2022学生报名通道开启

2022 P gas cylinder filling examination questions and simulation examination

2022 G3 boiler water treatment examination question bank and simulation examination

Unity游戏文件大,如何缩小游戏文件

華為影像XMAGE:求盡世間像,終見菩提心

监督学习week 3: Logistic Regression optional_lab收获记录

26 top open source projects, 87 open tasks, Alibaba programming summer 2022 student registration channel opened

What should I do if I can't see any tiles on SAP Fiori launchpad?

墨者学院刷题笔记——SQL手工注入漏洞测试(MongoDB数据库)
随机推荐
与机器对话,阿里达摩院挑战新一代人机对话技术
2022 simulated 100 questions and simulated examination for the main principals of hazardous chemical business units
QT creator debug mode breakpoint does not work mincw can
【AUTOSAR-DEM】-2.4-APP SWC如何读取MIL灯状态以及配置MIL灯
什么是丢包,为什么会丢包
不用登陆账户,实现网页中内容复制小技巧
Qt Creator调试模式断点不起作用 MinCW可以
Touche pussy cat
SAP Fiori Launchpad 上看不到任何 tile 应该怎么办?
树莓派利用OpenCV的图像跟踪、人脸识别等
使用plt.savefig()方法保存绘图时出现图片全白或全黑的问题
才22岁!这位“00后”博士拟任职985高校!
2022 G3 boiler water treatment examination question bank and simulation examination
Digital pyramid (PTA)
ASP.NET印刷行业印务管理系统,源码免费分享
Welcome to grafanafans interest group
Lime of Py: a detailed introduction to the introduction, installation and use of the lime Library
Data visualization: plotting sine and cosine curves with Matplotlib
Log4j log configuration
【第33天】或运算 | 的使用 | 连续低位0变1