How to solve the error spawning cl.exe in VC.

Source: Internet
Author: User

How to solve the error spawning cl.exe in VC.

Many people may have clicked "compile" or "build" after installing VC 6.0.
"Compiling..., errorSpawningCl.exe "error prompt is depressing. Many people
Select to reinstall. In fact, this problem is often caused by path settings,
“Cl.exe "is the true Compiler (Program compilation) used by VC. Its path is under" VC root directory/vc98/bin,
You can find the application in the corresponding path.

Therefore, you can solve the problem as follows: Open the VC interface and click VC "tools"-> "option )"
-> "Directories (directory)" to reset "excutable fils, include files,
Library files and source files. In many cases, a drive letter may be different.
(For example, if your VC is installed in C, but all these paths are in D), it will be OK.

If you install vc6.0 in the initial path, the path should be:
Executatble files:
C:/program files/Microsoft Visual Studio/common/msdev98/bin
C:/program files/Microsoft Visual Studio/vc98/bin
C:/program files/Microsoft Visual Studio/common/tools
C:/program files/Microsoft Visual Studio/common/tools/winnt

Include files:
C:/program files/Microsoft Visual Studio/vc98/include
C:/program files/Microsoft Visual Studio/vc98/mfc/include
C:/program files/Microsoft Visual Studio/vc98/ATL/include

Library files:
C:/program files/Microsoft Visual Studio/vc98/lib
C:/program files/Microsoft Visual Studio/vc98/mfc/lib

Source files:
C:/program files/Microsoft Visual Studio/vc98/mfc/src
C:/program files/Microsoft Visual Studio/vc98/mfc/include
C:/program files/Microsoft Visual Studio/vc98/ATL/include
C:/program files/Microsoft Visual Studio/vc98/CRT/src

If you install it on another disk, you just need to change it based on the path (I just installed it on disk D ).
The key is that Microsoft Visual Studio/should follow the same things.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.