Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solutions to errors in the execution of cl.exe

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail about the implementation of cl.exe error solution, Xiaobian feel quite practical, so share to you for a reference, I hope you can read this article after harvest.

Solution to error when executing cl.exe: first open vc interface; then click ["TOOLS"-"Option"-"Directories"] in turn; finally reset "Excludable Files, Include Files..." "or modify environment variables.

Specific issues:

Why is it always "error executing cl.exe"

#includemain(){float a = 12.3,b;double c;b = 12345.678;c = 12345.678;printf("a = %f,b = %f,c =%lf\n",a,b,c);}

Why is this always "error executing cl.exe"

I think it was written wrong when asking questions.

Solution:

You install visual is not installed well, there are two possibilities, one is the wrong path. The environment variable is wrong. I'll tell you in a minute.

You are using VC++ compiler it,

I also had this kind of trouble when I used this one. I didn't know it was troublesome at first, but it lasted for a few hours.

Specific steps:

One: "CL.exe" is VC using a real compiler (compiler), its path in the "VC root directory\VC98\Bin" below,

You can find this application under the corresponding path.

Therefore, the problem can be solved as follows: Open vc interface and click VC"TOOLS"->"Option"

-> Directories Reset paths to Excludable Files, Include Files, Library Files, Source Files. In many cases, it may be different from one drive letter

(For example, your VC is installed in C, but these paths are all in D), and it is OK to change it.

If you followed the initial path to install VC 6.0, the path should be:

executatble files:C:\Program Files\Microsoft Visual Studio\Common\MSDev98\BinC:\Program Files\Microsoft Visual Studio\VC98\BINC:\Program Files\Microsoft Visual Studio\Common\TOOLSC:\Program Files\Microsoft Visual Studio\Common\TOOLS\WINNTinclude files:C:\Program Files\Microsoft Visual Studio\VC98\INCLUDEC:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDEC:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDElibrary files:C:\Program Files\Microsoft Visual Studio\VC98\LIBC:\Program Files\Microsoft Visual Studio\VC98\MFC\LIBsource files:C:\Program Files\Microsoft Visual Studio\VC98\MFC\SRCC:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDEC:\Program Files\Microsoft Visual Studio\VC98\ATL\INCLUDEC:\Program Files\Microsoft Visual Studio\VC98\CRT\SRC

If you are in a different place, then follow the path (I am in D).

Microsoft Visual Studio\is the same thing.

I suffer greatly from it, reload many times does not work, the above Chinese part for the master to learn from.

Second: if the above function does not work, then you look at the environment variables.

Right-click My Computer-> Properties-> Advanced-> Environment Variables-> PATH Edit-> Delete everything except VC. That's OK.

So my computer can be debugged. No problem. (It's best to save your deleted content in a file just in case.)

About "cl.exe error solution" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report